----------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\neilke\Dropbox\sectarian_paper\production\replication_files\analysis_log
> .log
  log type:  text
 opened on:  23 Jul 2022, 18:13:32

. 
. *set your command directory
. cap cd "C:\Users\neilke\Dropbox\sectarian_paper\production\replication_files\data\final\"

. 
. *read in district day dataset
. cap use "barrie_clarke_ketchley_dataset", clear

. 
. *install packages
. *ssc install vce2way
. *net install spost13_ado.pkg
. 
end of do-file

. do "C:\Users\neilke\AppData\Local\Temp\STD4f98_000000.tmp"

. 
. *DV
. global basic_dv dv_burning_beating_bombing

. 
. *Controls
. global controls log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density lprevious_attack

. 
. *H1
. global h1 mboccup pct_mursi_2012 c.pct_shafiq_2012##c.pct_shafiq_2012 rabaa sqrt_killed_at_r
> abaa

. 
. *H2
. global h2 CPI_pct public_holiday_christian public_holiday_muslim friday sqrt_co_ethnic

. 
. *H3
. global h3 sqrt_distance_from_north_sinai sqrt_distance_to_gov_centre

. 
. *H4
. global h4 sqrt_police_strikes

. 
. 
. ********************************************************************************
. *Table 1 - Predicting the incidence of burnings, beatings, and bombings
. ********************************************************************************
. 
. *Model 1
. vce2way mlogit $basic_dv $h1 $controls, cluster(gov_ID adm2_pcode)

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(36) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2571.8176                      Pseudo R2     =  0.2014

                           (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------
                      |               Robust
dv_burning_beating_~g | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------+----------------------------------------------------------------
1                     |  (base outcome)
----------------------+----------------------------------------------------------------
2                     |
              mboccup |    2.45448   .1998604    12.28   0.000     2.062761    2.846199
       pct_mursi_2012 |   .0421167   .0115919     3.63   0.000      .019397    .0648364
      pct_shafiq_2012 |   .0722951   .0425871     1.70   0.090    -.0111741    .1557643
                      |
    c.pct_shafiq_2012#|
    c.pct_shafiq_2012 |  -.0016558   .0009205    -1.80   0.072      -.00346    .0001484
                      |
                rabaa |   4.749253   .2679215    17.73   0.000     4.224137    5.274369
 sqrt_killed_at_rabaa |  -.0027405   .0881778    -0.03   0.975    -.1755657    .1700848
      log10christians |   1.007838   .2802365     3.60   0.000     .4585843    1.557091
 sqrt_coptic_churches |   .4430052   .1357808     3.26   0.001     .1768796    .7091307
      agriculture_pct |  -.0043565    .008513    -0.51   0.609    -.0210417    .0123287
       university_pct |   .0059358   .0149586     0.40   0.692    -.0233825    .0352541
ln_population_density |  -.0084855   .0770519    -0.11   0.912    -.1595044    .1425333
     lprevious_attack |   .7340186   .7661659     0.96   0.338    -.7676388    2.235676
                _cons |  -16.21405   1.302883   -12.44   0.000    -18.76765   -13.66044
----------------------+----------------------------------------------------------------
3                     |
              mboccup |   .7564871   .3961706     1.91   0.056     -.019993    1.532967
       pct_mursi_2012 |   .0597896   .0181429     3.30   0.001     .0242301    .0953491
      pct_shafiq_2012 |   .0685073   .0400041     1.71   0.087    -.0098994     .146914
                      |
    c.pct_shafiq_2012#|
    c.pct_shafiq_2012 |  -.0013144   .0008205    -1.60   0.109    -.0029226    .0002938
                      |
                rabaa |   1.785459   .7056936     2.53   0.011     .4023248    3.168593
 sqrt_killed_at_rabaa |   .0751728   .1002645     0.75   0.453    -.1213419    .2716876
      log10christians |   1.827936    .342054     5.34   0.000     1.157523     2.49835
 sqrt_coptic_churches |   .3203785   .0844792     3.79   0.000     .1548022    .4859548
      agriculture_pct |   .0076841   .0100966     0.76   0.447    -.0121049    .0274732
       university_pct |   .0047074   .0190355     0.25   0.805    -.0326015    .0420163
ln_population_density |  -.0700015   .0725874    -0.96   0.335    -.2122701    .0722672
     lprevious_attack |   .6868483   .2324036     2.96   0.003     .2313456    1.142351
                _cons |  -19.48523   1.582387   -12.31   0.000    -22.58665   -16.38381
----------------------+----------------------------------------------------------------
4                     |
              mboccup |   1.091533   .6354758     1.72   0.086    -.1539763    2.337043
       pct_mursi_2012 |    .034687   .0239151     1.45   0.147    -.0121859    .0815598
      pct_shafiq_2012 |   .0828566   .1158922     0.71   0.475    -.1442879    .3100011
                      |
    c.pct_shafiq_2012#|
    c.pct_shafiq_2012 |  -.0019569   .0023136    -0.85   0.398    -.0064914    .0025776
                      |
                rabaa |   .6450694   1.223318     0.53   0.598     -1.75259    3.042728
 sqrt_killed_at_rabaa |  -.0405129      .1646    -0.25   0.806     -.363123    .2820972
      log10christians |  -.0568028   .5028495    -0.11   0.910     -1.04237    .9287641
 sqrt_coptic_churches |    .426134   .1754759     2.43   0.015     .0822075    .7700605
      agriculture_pct |  -.0351238   .0167735    -2.09   0.036    -.0679992   -.0022484
       university_pct |   -.000684   .0118981    -0.06   0.954    -.0240037    .0226358
ln_population_density |  -.0019798   .0783018    -0.03   0.980    -.1554485    .1514889
     lprevious_attack |   3.737443   .7519658     4.97   0.000     2.263617    5.211269
                _cons |   -10.6333   1.911589    -5.56   0.000    -14.37994   -6.886651
---------------------------------------------------------------------------------------
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(36) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2571.8176                      Pseudo R2     =  0.2014

                           (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------
                      |               Robust
dv_burning_beating_~g |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------+----------------------------------------------------------------
1                     |  (base outcome)
----------------------+----------------------------------------------------------------
2                     |
              mboccup |   11.64038   2.326451    12.28   0.000     7.867664     17.2222
       pct_mursi_2012 |   1.043016   .0120905     3.63   0.000     1.019586    1.066984
      pct_shafiq_2012 |   1.074973     .04578     1.70   0.090     .9888881    1.168551
                      |
    c.pct_shafiq_2012#|
    c.pct_shafiq_2012 |   .9983456    .000919    -1.80   0.072      .996546    1.000148
                      |
                rabaa |    115.498   30.94439    17.73   0.000     68.31549    195.2673
 sqrt_killed_at_rabaa |   .9972633   .0879365    -0.03   0.975     .8389822    1.185405
      log10christians |   2.739671   .7677559     3.60   0.000     1.581833    4.744999
 sqrt_coptic_churches |    1.55738   .2114624     3.26   0.001     1.193487    2.032224
      agriculture_pct |    .995653    .008476    -0.51   0.609     .9791782    1.012405
       university_pct |   1.005953   .0150476     0.40   0.692     .9768888    1.035883
ln_population_density |   .9915504   .0764008    -0.11   0.912     .8525662    1.153192
     lprevious_attack |   2.083436   1.596258     0.96   0.338     .4641076    9.352803
                _cons |   9.09e-08   1.18e-07   -12.44   0.000     7.07e-09    1.17e-06
----------------------+----------------------------------------------------------------
3                     |
              mboccup |   2.130778   .8441516     1.91   0.056     .9802055    4.631901
       pct_mursi_2012 |   1.061613   .0192608     3.30   0.001     1.024526    1.100043
      pct_shafiq_2012 |   1.070908   .0428408     1.71   0.087     .9901495    1.158254
                      |
    c.pct_shafiq_2012#|
    c.pct_shafiq_2012 |   .9986864   .0008194    -1.60   0.109     .9970816    1.000294
                      |
                rabaa |   5.962316   4.207568     2.53   0.011     1.495297    23.77401
 sqrt_killed_at_rabaa |    1.07807   .1080922     0.75   0.453      .885731    1.312177
      log10christians |   6.221035    2.12793     5.34   0.000     3.182041    12.16241
 sqrt_coptic_churches |   1.377649   .1163827     3.79   0.000     1.167427    1.625726
      agriculture_pct |   1.007714   .0101745     0.76   0.447     .9879681    1.027854
       university_pct |   1.004719   .0191253     0.25   0.805     .9679242    1.042911
ln_population_density |   .9323925   .0676799    -0.96   0.335     .8087462    1.074943
     lprevious_attack |   1.987442   .4618886     2.96   0.003     1.260295    3.134128
                _cons |   3.45e-09   5.46e-09   -12.31   0.000     1.55e-10    7.67e-08
----------------------+----------------------------------------------------------------
4                     |
              mboccup |   2.978838    1.89298     1.72   0.086     .8572923    10.35059
       pct_mursi_2012 |   1.035296   .0247592     1.45   0.147     .9878881    1.084978
      pct_shafiq_2012 |   1.086386   .1259037     0.71   0.475     .8656385    1.363427
                      |
    c.pct_shafiq_2012#|
    c.pct_shafiq_2012 |    .998045    .002309    -0.85   0.398     .9935296    1.002581
                      |
                rabaa |   1.906119    2.33179     0.53   0.598     .1733245    20.96236
 sqrt_killed_at_rabaa |   .9602968   .1580649    -0.25   0.806     .6955009    1.325908
      log10christians |   .9447804   .4750823    -0.11   0.910     .3526181    2.531379
 sqrt_coptic_churches |   1.531326   .2687108     2.43   0.015     1.085681    2.159897
      agriculture_pct |   .9654859   .0161946    -2.09   0.036     .9342612    .9977542
       university_pct |   .9993163   .0118899    -0.06   0.954     .9762821    1.022894
ln_population_density |   .9980222   .0781469    -0.03   0.980     .8560311    1.163565
     lprevious_attack |   41.99048    31.5754     4.97   0.000     9.617815    183.3265
                _cons |   .0000241   .0000461    -5.56   0.000     5.69e-07    .0010213
---------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.

. 
. *Model 2
. vce2way mlogit $basic_dv $h1 $h2 $controls, cluster(gov_ID adm2_pcode)

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(51) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2555.9773                      Pseudo R2     =  0.2063

                              (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
------------------------------------------------------------------------------------------
                         |               Robust
dv_burning_beating_bom~g | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------------------+----------------------------------------------------------------
1                        |  (base outcome)
-------------------------+----------------------------------------------------------------
2                        |
                 mboccup |   2.514016   .2126147    11.82   0.000     2.097298    2.930733
          pct_mursi_2012 |   .0430737   .0113973     3.78   0.000     .0207354     .065412
         pct_shafiq_2012 |   .0778859   .0371606     2.10   0.036     .0050525    .1507193
                         |
       c.pct_shafiq_2012#|
       c.pct_shafiq_2012 |  -.0018217   .0008161    -2.23   0.026    -.0034212   -.0002223
                         |
                   rabaa |   4.714296   .2800783    16.83   0.000     4.165352    5.263239
    sqrt_killed_at_rabaa |  -.0002527   .0841121    -0.00   0.998    -.1651094     .164604
                 CPI_pct |  -.1082353   .0738413    -1.47   0.143    -.2529616    .0364911
public_holiday_christian |  -13.71228   .5167567   -26.54   0.000     -14.7251   -12.69945
   public_holiday_muslim |  -.9810166   1.082021    -0.91   0.365    -3.101739    1.139706
                  friday |   .6621655   .1733452     3.82   0.000     .3224151    1.001916
          sqrt_co_ethnic |   .8733725   .2961964     2.95   0.003     .2928382    1.453907
         log10christians |   1.047794   .2681693     3.91   0.000     .5221917    1.573396
    sqrt_coptic_churches |   .4333185    .132388     3.27   0.001     .1738428    .6927943
         agriculture_pct |  -.0036305   .0086757    -0.42   0.676    -.0206346    .0133736
          university_pct |   .0042577   .0145976     0.29   0.771     -.024353    .0328684
   ln_population_density |  -.0185081   .0761554    -0.24   0.808    -.1677698    .1307537
        lprevious_attack |   .7671253   .7341841     1.04   0.296    -.6718491      2.2061
                   _cons |  -16.37105   1.320129   -12.40   0.000    -18.95845   -13.78364
-------------------------+----------------------------------------------------------------
3                        |
                 mboccup |    .716238   .4013823     1.78   0.074    -.0704569    1.502933
          pct_mursi_2012 |    .059783   .0182182     3.28   0.001     .0240759      .09549
         pct_shafiq_2012 |   .0683744    .038988     1.75   0.079    -.0080406    .1447894
                         |
       c.pct_shafiq_2012#|
       c.pct_shafiq_2012 |  -.0013098   .0007947    -1.65   0.099    -.0028675    .0002478
                         |
                   rabaa |   1.843083   .6917011     2.66   0.008     .4873735    3.198792
    sqrt_killed_at_rabaa |   .0752331   .1001629     0.75   0.453    -.1210827    .2715488
                 CPI_pct |   .0091285   .0027562     3.31   0.001     .0037265    .0145306
public_holiday_christian |  -14.06426   .5732878   -24.53   0.000    -15.18788   -12.94064
   public_holiday_muslim |   .8689022   .2721822     3.19   0.001     .3354349    1.402369
                  friday |  -.0764287    .202147    -0.38   0.705    -.4726296    .3197722
          sqrt_co_ethnic |  -.0639571   .7869894    -0.08   0.935    -1.606428    1.478514
         log10christians |   1.826769   .3390306     5.39   0.000     1.162281    2.491256
    sqrt_coptic_churches |   .3205458   .0840432     3.81   0.000     .1558241    .4852675
         agriculture_pct |   .0076694   .0101277     0.76   0.449    -.0121805    .0275193
          university_pct |   .0047651   .0188232     0.25   0.800    -.0321277    .0416579
   ln_population_density |  -.0696564   .0715037    -0.97   0.330    -.2098012    .0704884
        lprevious_attack |   .6646383    .231966     2.87   0.004     .2099933    1.119283
                   _cons |  -19.52714   1.581606   -12.35   0.000    -22.62703   -16.42725
-------------------------+----------------------------------------------------------------
4                        |
                 mboccup |   1.127113   .6429816     1.75   0.080    -.1331074    2.387334
          pct_mursi_2012 |   .0355968   .0236027     1.51   0.132    -.0106636    .0818572
         pct_shafiq_2012 |   .0826728   .1033428     0.80   0.424    -.1198754     .285221
                         |
       c.pct_shafiq_2012#|
       c.pct_shafiq_2012 |  -.0019719   .0020105    -0.98   0.327    -.0059125    .0019686
                         |
                   rabaa |   .6231621   1.220808     0.51   0.610    -1.769578    3.015902
    sqrt_killed_at_rabaa |  -.0366375   .1705948    -0.21   0.830    -.3709972    .2977222
                 CPI_pct |  -.0416247   .0386188    -1.08   0.281    -.1173162    .0340667
public_holiday_christian |   1.112529   1.072795     1.04   0.300    -.9901105    3.215168
   public_holiday_muslim |  -14.53337   .3064489   -47.43   0.000      -15.134   -13.93274
                  friday |   .4083078   .4235333     0.96   0.335    -.4218021    1.238418
          sqrt_co_ethnic |   .4373949   .5005386     0.87   0.382    -.5436428    1.418433
         log10christians |  -.0427713   .5145217    -0.08   0.934    -1.051215    .9656726
    sqrt_coptic_churches |   .4221713   .1668165     2.53   0.011     .0952169    .7491257
         agriculture_pct |  -.0347564   .0170946    -2.03   0.042    -.0682612   -.0012515
          university_pct |  -.0018564   .0115598    -0.16   0.872    -.0245131    .0208004
   ln_population_density |  -.0071136   .0807397    -0.09   0.930    -.1653605    .1511334
        lprevious_attack |   3.725783   .7415092     5.02   0.000     2.272452    5.179114
                   _cons |  -10.67002   1.922723    -5.55   0.000    -14.43849   -6.901554
------------------------------------------------------------------------------------------
Note: 28 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(51) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2555.9773                      Pseudo R2     =  0.2063

                              (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
------------------------------------------------------------------------------------------
                         |               Robust
dv_burning_beating_bom~g |        RRR   std. err.      z    P>|z|     [95% conf. interval]
-------------------------+----------------------------------------------------------------
1                        |  (base outcome)
-------------------------+----------------------------------------------------------------
2                        |
                 mboccup |   12.35444   2.626735    11.82   0.000     8.144138    18.74136
          pct_mursi_2012 |   1.044015   .0118989     3.78   0.000     1.020952    1.067599
         pct_shafiq_2012 |   1.080999   .0401705     2.10   0.036     1.005065     1.16267
                         |
       c.pct_shafiq_2012#|
       c.pct_shafiq_2012 |   .9981799   .0008146    -2.23   0.026     .9965847    .9997777
                         |
                   rabaa |   111.5302   31.23719    16.83   0.000     64.41537    193.1059
    sqrt_killed_at_rabaa |   .9997473   .0840909    -0.00   0.998     .8478009    1.178926
                 CPI_pct |   .8974165   .0662664    -1.47   0.143     .7764977    1.037165
public_holiday_christian |   1.11e-06   5.73e-07   -26.54   0.000     4.03e-07    3.05e-06
   public_holiday_muslim |   .3749297   .4056819    -0.91   0.365     .0449709    3.125849
                  friday |   1.938987   .3361141     3.82   0.000     1.380458    2.723495
          sqrt_co_ethnic |   2.394974   .7093829     2.95   0.003     1.340226    4.279803
         log10christians |   2.851354   .7646454     3.91   0.000     1.685718    4.822999
    sqrt_coptic_churches |   1.542367    .204191     3.27   0.001     1.189868    1.999294
         agriculture_pct |   .9963761   .0086443    -0.42   0.676     .9795768    1.013463
          university_pct |   1.004267   .0146599     0.29   0.771     .9759411    1.033415
   ln_population_density |   .9816622   .0747588    -0.24   0.808     .8455485    1.139687
        lprevious_attack |   2.153566   1.581114     1.04   0.296     .5107633     9.08023
                   _cons |   7.77e-08   1.03e-07   -12.40   0.000     5.84e-09    1.03e-06
-------------------------+----------------------------------------------------------------
3                        |
                 mboccup |   2.046719   .8215167     1.78   0.074     .9319679    4.494852
          pct_mursi_2012 |   1.061606   .0193406     3.28   0.001     1.024368    1.100198
         pct_shafiq_2012 |   1.070766    .041747     1.75   0.079     .9919916    1.155796
                         |
       c.pct_shafiq_2012#|
       c.pct_shafiq_2012 |    .998691   .0007937    -1.65   0.099     .9971366    1.000248
                         |
                   rabaa |   6.315979   4.368769     2.66   0.008     1.628035    24.50291
    sqrt_killed_at_rabaa |   1.078135   .1079892     0.75   0.453     .8859607    1.311995
                 CPI_pct |    1.00917   .0027815     3.31   0.001     1.003733    1.014637
public_holiday_christian |   7.80e-07   4.47e-07   -24.53   0.000     2.54e-07    2.40e-06
   public_holiday_muslim |   2.384292   .6489618     3.19   0.001     1.398548     4.06482
                  friday |    .926419   .1872729    -0.38   0.705     .6233609    1.376814
          sqrt_co_ethnic |   .9380453   .7382317    -0.08   0.935     .2006029    4.386422
         log10christians |   6.213775    2.10666     5.39   0.000     3.197218    12.07644
    sqrt_coptic_churches |    1.37788   .1158015     3.81   0.000     1.168621     1.62461
         agriculture_pct |   1.007699   .0102057     0.76   0.449     .9878933    1.027901
          university_pct |   1.004776   .0189131     0.25   0.800     .9683829    1.042538
   ln_population_density |   .9327142   .0666926    -0.97   0.330     .8107454    1.073032
        lprevious_attack |   1.943787   .4508926     2.87   0.004      1.23367    3.062659
                   _cons |   3.31e-09   5.23e-09   -12.35   0.000     1.49e-10    7.34e-08
-------------------------+----------------------------------------------------------------
4                        |
                 mboccup |   3.086733   1.984713     1.75   0.080     .8753711    10.88444
          pct_mursi_2012 |   1.036238    .024458     1.51   0.132      .989393    1.085301
         pct_shafiq_2012 |   1.086186   .1122496     0.80   0.424      .887031    1.330056
                         |
       c.pct_shafiq_2012#|
       c.pct_shafiq_2012 |     .99803   .0020066    -0.98   0.327      .994105    1.001971
                         |
                   rabaa |   1.864816   2.276582     0.51   0.610     .1704048     20.4075
    sqrt_killed_at_rabaa |   .9640255   .1644578    -0.21   0.830     .6900459    1.346788
                 CPI_pct |   .9592297   .0370443    -1.08   0.281      .889304    1.034654
public_holiday_christian |   3.042041   3.263486     1.04   0.300     .3715356    24.90747
   public_holiday_muslim |   4.88e-07   1.49e-07   -47.43   0.000     2.68e-07    8.89e-07
                  friday |    1.50427   .6371085     0.96   0.335     .6558638     3.45015
          sqrt_co_ethnic |   1.548667   .7751679     0.87   0.382     .5806293    4.130641
         log10christians |   .9581305   .4929789    -0.08   0.934     .3495127    2.626554
    sqrt_coptic_churches |    1.52527   .2544402     2.53   0.011     1.099897     2.11515
         agriculture_pct |   .9658407   .0165107    -2.03   0.042     .9340164    .9987493
          university_pct |   .9981453   .0115383    -0.16   0.872     .9757849    1.021018
   ln_population_density |   .9929117   .0801674    -0.09   0.930     .8475881    1.163152
        lprevious_attack |   41.50372   30.77539     5.02   0.000     9.703161    177.5255
                   _cons |   .0000232   .0000447    -5.55   0.000     5.36e-07    .0010062
------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 28 observations completely determined. Standard errors questionable.

. 
. *Model 3
. vce2way mlogit $basic_dv $h1 $h2 $h3 $controls, cluster(gov_ID adm2_pcode)

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(57) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2527.7666                      Pseudo R2     =  0.2150

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.518805   .2133853    11.80   0.000     2.100578    2.937033
             pct_mursi_2012 |   .0559266   .0135131     4.14   0.000     .0294414    .0824118
            pct_shafiq_2012 |   .0501791   .0426404     1.18   0.239    -.0333946    .1337527
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0013579   .0009349    -1.45   0.146    -.0031902    .0004744
                            |
                      rabaa |   4.732371    .281674    16.80   0.000       4.1803    5.284442
       sqrt_killed_at_rabaa |   .0154182   .0933627     0.17   0.869    -.1675694    .1984058
                    CPI_pct |  -.1082286    .073958    -1.46   0.143    -.2531836    .0367264
   public_holiday_christian |  -13.68081   .5173028   -26.45   0.000     -14.6947   -12.66691
      public_holiday_muslim |  -.9819593   1.082735    -0.91   0.364    -3.104082    1.140163
                     friday |   .6617088   .1741299     3.80   0.000     .3204204    1.002997
             sqrt_co_ethnic |   .4846723   .3182696     1.52   0.128    -.1391247    1.108469
sqrt_distance_from_north_~i |   .0820861   .0478046     1.72   0.086    -.0116092    .1757815
sqrt_distance_to_gov_centre |  -.1990462   .0435866    -4.57   0.000    -.2844743   -.1136182
            log10christians |   .9278765   .2470871     3.76   0.000     .4435946    1.412158
       sqrt_coptic_churches |   .4794758   .1144923     4.19   0.000      .255075    .7038766
            agriculture_pct |  -.0066142    .009977    -0.66   0.507    -.0261687    .0129403
             university_pct |   .0152137   .0148195     1.03   0.305    -.0138319    .0442594
      ln_population_density |  -.0780496    .076033    -1.03   0.305    -.2270714    .0709723
           lprevious_attack |   .7457457   .7030984     1.06   0.289    -.6323019    2.123793
                      _cons |  -16.21606   1.610594   -10.07   0.000    -19.37277   -13.05935
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7167747   .4018245     1.78   0.074    -.0707869    1.504336
             pct_mursi_2012 |   .0739706   .0189765     3.90   0.000     .0367773    .1111638
            pct_shafiq_2012 |   .0700513   .0412711     1.70   0.090    -.0108386    .1509411
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012567   .0008543    -1.47   0.141    -.0029311    .0004177
                            |
                      rabaa |   1.843642    .693096     2.66   0.008     .4851993    3.202086
       sqrt_killed_at_rabaa |   .1551375   .1145927     1.35   0.176    -.0694601    .3797351
                    CPI_pct |   .0091281   .0027563     3.31   0.001     .0037258    .0145304
   public_holiday_christian |  -14.05338   .5733913   -24.51   0.000     -15.1772   -12.92955
      public_holiday_muslim |   .8684817    .272055     3.19   0.001     .3352636      1.4017
                     friday |  -.0762604   .2021282    -0.38   0.706    -.4724245    .3199037
             sqrt_co_ethnic |   -.191035    .727615    -0.26   0.793    -1.617134    1.235064
sqrt_distance_from_north_~i |   .1149233   .0685355     1.68   0.094    -.0194039    .2492505
sqrt_distance_to_gov_centre |  -.0273827   .0337287    -0.81   0.417    -.0934897    .0387242
            log10christians |   1.702311   .3444038     4.94   0.000     1.027292     2.37733
       sqrt_coptic_churches |   .3141274   .0818254     3.84   0.000     .1537526    .4745022
            agriculture_pct |   .0037006   .0098822     0.37   0.708    -.0156682    .0230694
             university_pct |   .0196378   .0200757     0.98   0.328    -.0197098    .0589854
      ln_population_density |  -.0608253   .0716293    -0.85   0.396    -.2012162    .0795656
           lprevious_attack |   .6634191   .2361612     2.81   0.005     .2005516    1.126287
                      _cons |  -21.65784   2.963581    -7.31   0.000    -27.46635   -15.84932
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.131769   .6359797     1.78   0.075    -.1147285    2.378266
             pct_mursi_2012 |   .0336571   .0247775     1.36   0.174    -.0149059      .08222
            pct_shafiq_2012 |   .0337367   .0757827     0.45   0.656    -.1147946     .182268
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012594   .0013854    -0.91   0.363    -.0039747     .001456
                            |
                      rabaa |   .7971546   1.158553     0.69   0.491    -1.473567    3.067876
       sqrt_killed_at_rabaa |  -.0725043   .1657711    -0.44   0.662    -.3974096     .252401
                    CPI_pct |  -.0424001   .0390974    -1.08   0.278    -.1190297    .0342294
   public_holiday_christian |   1.145215   1.068527     1.07   0.284     -.949059    3.239489
      public_holiday_muslim |  -14.30692    .306813   -46.63   0.000    -14.90826   -13.70557
                     friday |   .3993546   .4300966     0.93   0.353    -.4436191    1.242328
             sqrt_co_ethnic |   .1055902   .5313382     0.20   0.842    -.9358136    1.146994
sqrt_distance_from_north_~i |  -.1507762   .0801294    -1.88   0.060     -.307827    .0062745
sqrt_distance_to_gov_centre |  -.3580286   .1327127    -2.70   0.007    -.6181407   -.0979166
            log10christians |   .3324834   .2748712     1.21   0.226    -.2062542     .871221
       sqrt_coptic_churches |   .5554348   .1955325     2.84   0.005     .1721983    .9386714
            agriculture_pct |  -.0221522   .0133284    -1.66   0.097    -.0482754    .0039711
             university_pct |  -.0065506   .0129669    -0.51   0.613    -.0319652    .0188641
      ln_population_density |  -.1429375   .0833491    -1.71   0.086    -.3062988    .0204237
           lprevious_attack |   3.380765   .5558721     6.08   0.000     2.291276    4.470254
                      _cons |  -6.958924   2.379913    -2.92   0.003    -11.62347   -2.294381
---------------------------------------------------------------------------------------------
Note: 335 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(57) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2527.7666                      Pseudo R2     =  0.2150

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   12.41376   2.648913    11.80   0.000     8.170889     18.8598
             pct_mursi_2012 |    1.05752   .0142904     4.14   0.000     1.029879    1.085903
            pct_shafiq_2012 |   1.051459   .0448347     1.18   0.239     .9671568     1.14311
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |    .998643   .0009336    -1.45   0.146     .9968149    1.000475
                            |
                      rabaa |   113.5645   31.98817    16.80   0.000     65.38549    197.2441
       sqrt_killed_at_rabaa |   1.015538   .0948134     0.17   0.869      .845718    1.219457
                    CPI_pct |   .8974224   .0663716    -1.46   0.143     .7763254    1.037409
   public_holiday_christian |   1.14e-06   5.92e-07   -26.45   0.000     4.15e-07    3.15e-06
      public_holiday_muslim |   .3745765   .4055672    -0.91   0.364     .0448657    3.127279
                     friday |   1.938101   .3374815     3.80   0.000     1.377707    2.726441
             sqrt_co_ethnic |   1.623643   .5167562     1.52   0.128     .8701195    3.029717
sqrt_distance_from_north_~i |   1.085549   .0518943     1.72   0.086     .9884579    1.192178
sqrt_distance_to_gov_centre |    .819512   .0357197    -4.57   0.000     .7524097    .8925987
            log10christians |   2.529133   .6249162     3.76   0.000     1.558299    4.104806
       sqrt_coptic_churches |   1.615227   .1849311     4.19   0.000     1.290558    2.021574
            agriculture_pct |   .9934076   .0099112    -0.66   0.507     .9741707    1.013024
             university_pct |    1.01533   .0150467     1.03   0.305     .9862633    1.045253
      ln_population_density |   .9249186   .0703243    -1.03   0.305     .7968638    1.073551
           lprevious_attack |   2.108013    1.48214     1.06   0.289     .5313673    8.362799
                      _cons |   9.07e-08   1.46e-07   -10.07   0.000     3.86e-09    2.13e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.047818   .8228634     1.78   0.074     .9316604    4.501165
             pct_mursi_2012 |   1.076775   .0204334     3.90   0.000     1.037462    1.117578
            pct_shafiq_2012 |   1.072563   .0442659     1.70   0.090     .9892199    1.162928
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987441   .0008532    -1.47   0.141     .9970732    1.000418
                            |
                      rabaa |   6.319515   4.380031     2.66   0.008     1.624499    24.58375
       sqrt_killed_at_rabaa |   1.167818   .1338235     1.35   0.176     .9328973    1.461897
                    CPI_pct |    1.00917   .0027816     3.31   0.001     1.003733    1.014636
   public_holiday_christian |   7.88e-07   4.52e-07   -24.51   0.000     2.56e-07    2.43e-06
      public_holiday_muslim |   2.383289   .6483859     3.19   0.001     1.398309    4.062099
                     friday |   .9265749   .1872869    -0.38   0.706     .6234888    1.376995
             sqrt_co_ethnic |   .8261036   .6010854    -0.26   0.793     .1984667    3.438599
sqrt_distance_from_north_~i |   1.121787   .0768823     1.68   0.094     .9807832    1.283063
sqrt_distance_to_gov_centre |   .9729888   .0328176    -0.81   0.417     .9107474    1.039484
            log10christians |   5.486611    1.88961     4.94   0.000      2.79349    10.77609
       sqrt_coptic_churches |   1.369064   .1120242     3.84   0.000     1.166202    1.607214
            agriculture_pct |   1.003707   .0099188     0.37   0.708     .9844539    1.023338
             university_pct |   1.019832   .0204738     0.98   0.328     .9804832     1.06076
      ln_population_density |   .9409876   .0674023    -0.85   0.396     .8177356    1.082817
           lprevious_attack |   1.941419   .4584879     2.81   0.005     1.222077    3.084182
                      _cons |   3.93e-10   1.16e-09    -7.31   0.000     1.18e-12    1.31e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.101137    1.97226     1.78   0.075     .8916082    10.78618
             pct_mursi_2012 |    1.03423   .0256256     1.36   0.174     .9852047    1.085695
            pct_shafiq_2012 |   1.034312   .0783829     0.45   0.656     .8915493    1.199936
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987414   .0013837    -0.91   0.363     .9960332    1.001457
                            |
                      rabaa |   2.219217    2.57108     0.69   0.491     .2291068     21.4962
       sqrt_killed_at_rabaa |   .9300618   .1541773    -0.44   0.662     .6720587    1.287112
                    CPI_pct |   .9584862   .0374743    -1.08   0.278     .8877814    1.034822
   public_holiday_christian |   3.143117   3.358505     1.07   0.284     .3871051    25.52068
      public_holiday_muslim |   6.12e-07   1.88e-07   -46.63   0.000     3.35e-07    1.12e-06
                     friday |   1.490862   .6412147     0.93   0.353     .6417098    3.463669
             sqrt_co_ethnic |   1.111366   .5905114     0.20   0.842     .3922666    3.148714
sqrt_distance_from_north_~i |   .8600401   .0689145    -1.88   0.060     .7350425    1.006294
sqrt_distance_to_gov_centre |   .6990531   .0927732    -2.70   0.007     .5389456    .9067245
            log10christians |   1.394427   .3832877     1.21   0.226     .8136262    2.389827
       sqrt_coptic_churches |   1.742699   .3407541     2.84   0.005     1.187913    2.556582
            agriculture_pct |   .9780914   .0130364    -1.66   0.097     .9528713    1.003979
             university_pct |   .9934708   .0128822    -0.51   0.613     .9685402    1.019043
      ln_population_density |   .8668082   .0722477    -1.71   0.086     .7361666    1.020634
           lprevious_attack |   29.39325   16.33889     6.08   0.000     9.887545    87.37895
                      _cons |   .0009501   .0022612    -2.92   0.003     8.95e-06    .1008238
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 335 observations completely determined. Standard errors questionable.

. 
. *Model 4
. vce2way mlogit $basic_dv $h1 $h2 $h3 $h4 $controls, cluster(gov_ID adm2_pcode)

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.6687                      Pseudo R2     =  0.2169

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.519121   .2149879    11.72   0.000     2.097752    2.940489
             pct_mursi_2012 |   .0555903   .0145586     3.82   0.000      .027056    .0841247
            pct_shafiq_2012 |   .0405967   .0450008     0.90   0.367    -.0476032    .1287966
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012095   .0009719    -1.24   0.213    -.0031143    .0006953
                            |
                      rabaa |   4.741909   .2837735    16.71   0.000     4.185723    5.298095
       sqrt_killed_at_rabaa |   .0208104   .0999446     0.21   0.835    -.1750774    .2166983
                    CPI_pct |  -.1082522   .0739391    -1.46   0.143    -.2531702    .0366657
   public_holiday_christian |  -13.36599   .5175606   -25.82   0.000    -14.38039   -12.35159
      public_holiday_muslim |  -.9818595   1.082775    -0.91   0.365    -3.104059     1.14034
                     friday |    .663455   .1740658     3.81   0.000     .3222923    1.004618
             sqrt_co_ethnic |   .4194598   .2551401     1.64   0.100    -.0806056    .9195253
sqrt_distance_from_north_~i |   .0803634   .0475203     1.69   0.091    -.0127746    .1735014
sqrt_distance_to_gov_centre |  -.1774618   .0451491    -3.93   0.000    -.2659524   -.0889712
        sqrt_police_strikes |   .3949902   .1930199     2.05   0.041     .0166783    .7733022
            log10christians |   .9176519   .2463427     3.73   0.000     .4348291    1.400475
       sqrt_coptic_churches |   .4487481   .1142824     3.93   0.000     .2247587    .6727374
            agriculture_pct |  -.0044175   .0100787    -0.44   0.661    -.0241715    .0153365
             university_pct |   .0093557   .0131778     0.71   0.478    -.0164723    .0351837
      ln_population_density |  -.0461034   .0753024    -0.61   0.540    -.1936934    .1014866
           lprevious_attack |   .7405662   .7153899     1.04   0.301    -.6615721    2.142705
                      _cons |  -16.45467   1.609804   -10.22   0.000    -19.60983   -13.29951
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7186564   .4009647     1.79   0.073      -.06722    1.504533
             pct_mursi_2012 |   .0780845   .0221851     3.52   0.000     .0346025    .1215664
            pct_shafiq_2012 |   .0731162   .0459834     1.59   0.112    -.0170096    .1632421
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012938   .0009542    -1.36   0.175     -.003164    .0005764
                            |
                      rabaa |   1.861885   .6837292     2.72   0.006     .5218008     3.20197
       sqrt_killed_at_rabaa |   .1706384   .1209727     1.41   0.158    -.0664636    .4077405
                    CPI_pct |   .0091272   .0027603     3.31   0.001     .0037171    .0145372
   public_holiday_christian |  -13.74158   .5740337   -23.94   0.000    -14.86667    -12.6165
      public_holiday_muslim |    .868466   .2721304     3.19   0.001     .3351002    1.401832
                     friday |   -.075929   .2023464    -0.38   0.707    -.4725208    .3206627
             sqrt_co_ethnic |  -.3095146   .7345417    -0.42   0.673     -1.74919    1.130161
sqrt_distance_from_north_~i |   .1265987   .0719421     1.76   0.078    -.0144053    .2676028
sqrt_distance_to_gov_centre |  -.0080658   .0380678    -0.21   0.832    -.0826773    .0665458
        sqrt_police_strikes |   .3386683   .1278929     2.65   0.008     .0880028    .5893337
            log10christians |   1.706878   .3401686     5.02   0.000      1.04016    2.373596
       sqrt_coptic_churches |   .2620958    .094289     2.78   0.005     .0772929    .4468988
            agriculture_pct |   .0039691   .0095226     0.42   0.677    -.0146948    .0226331
             university_pct |   .0123235   .0158774     0.78   0.438    -.0187957    .0434427
      ln_population_density |   -.021166   .0814184    -0.26   0.795    -.1807431    .1384112
           lprevious_attack |   .6080344   .2152063     2.83   0.005     .1862378    1.029831
                      _cons |  -22.42882   3.365415    -6.66   0.000    -29.02491   -15.83273
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.143212   .6285906     1.82   0.069    -.0888034    2.375227
             pct_mursi_2012 |   .0330277   .0244428     1.35   0.177    -.0148793    .0809347
            pct_shafiq_2012 |   .0264936   .0715213     0.37   0.711    -.1136856    .1666729
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011341   .0013104    -0.87   0.387    -.0037025    .0014343
                            |
                      rabaa |   .8124581   1.156676     0.70   0.482    -1.454584    3.079501
       sqrt_killed_at_rabaa |  -.0813186   .1819582    -0.45   0.655    -.4379501    .2753129
                    CPI_pct |  -.0425762   .0392889    -1.08   0.279     -.119581    .0344285
   public_holiday_christian |    1.14044   1.070467     1.07   0.287    -.9576369    3.238516
      public_holiday_muslim |  -14.04784   .3071965   -45.73   0.000    -14.64993   -13.44575
                     friday |   .4009717   .4294786     0.93   0.350    -.4407909    1.242734
             sqrt_co_ethnic |   .1013114   .5417058     0.19   0.852    -.9604125    1.163035
sqrt_distance_from_north_~i |  -.1588907   .0803803    -1.98   0.048    -.3164332   -.0013482
sqrt_distance_to_gov_centre |  -.3424123   .1223318    -2.80   0.005    -.5821782   -.1026464
        sqrt_police_strikes |   .2366869   .2701885     0.88   0.381    -.2928729    .7662467
            log10christians |   .3419466   .2543018     1.34   0.179    -.1564759     .840369
       sqrt_coptic_churches |   .5477079   .1970761     2.78   0.005     .1614459    .9339698
            agriculture_pct |  -.0211486   .0125674    -1.68   0.092    -.0457803    .0034832
             university_pct |  -.0091486   .0138627    -0.66   0.509     -.036319    .0180218
      ln_population_density |   -.127764   .0907434    -1.41   0.159    -.3056179    .0500898
           lprevious_attack |   3.327682   .5522121     6.03   0.000     2.245366    4.409998
                      _cons |  -7.004383   2.308032    -3.03   0.002    -11.52804   -2.480723
---------------------------------------------------------------------------------------------
Note: 307 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.6687                      Pseudo R2     =  0.2169

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   12.41767   2.669649    11.72   0.000     8.147835     18.9251
             pct_mursi_2012 |   1.057165   .0153908     3.82   0.000     1.027425    1.087764
            pct_shafiq_2012 |   1.041432   .0468652     0.90   0.367     .9535121    1.137459
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987913   .0009707    -1.24   0.213     .9968906    1.000696
                            |
                      rabaa |   114.6529   32.53544    16.71   0.000     65.74104    199.9555
       sqrt_killed_at_rabaa |   1.021028   .1020463     0.21   0.835      .839392    1.241969
                    CPI_pct |   .8974012    .066353    -1.46   0.143     .7763358    1.037346
   public_holiday_christian |   1.57e-06   8.11e-07   -25.82   0.000     5.68e-07    4.32e-06
      public_holiday_muslim |   .3746139   .4056225    -0.91   0.365     .0448667    3.127832
                     friday |   1.941489   .3379468     3.81   0.000     1.380288    2.730863
             sqrt_co_ethnic |    1.52114   .3881037     1.64   0.100     .9225575    2.508099
sqrt_distance_from_north_~i |   1.083681   .0514968     1.69   0.091     .9873066    1.189462
sqrt_distance_to_gov_centre |    .837393   .0378075    -3.93   0.000     .7664756    .9148719
        sqrt_police_strikes |    1.48437   .2865128     2.05   0.041     1.016818     2.16691
            log10christians |   2.503405   .6166956     3.73   0.000     1.544699    4.057125
       sqrt_coptic_churches |    1.56635   .1790062     3.93   0.000     1.252021    1.959594
            agriculture_pct |   .9955922   .0100343    -0.44   0.661     .9761183    1.015455
             university_pct |     1.0094   .0133017     0.71   0.478     .9836626     1.03581
      ln_population_density |   .9549432   .0719095    -0.61   0.540     .8239105    1.106815
           lprevious_attack |   2.097123    1.50026     1.04   0.301     .5160394    8.522456
                      _cons |   7.14e-08   1.15e-07   -10.22   0.000     3.04e-09    1.68e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.051675   .8226493     1.79   0.073     .9349895     4.50205
             pct_mursi_2012 |   1.081214   .0239868     3.52   0.000     1.035208    1.129264
            pct_shafiq_2012 |   1.075856   .0494715     1.59   0.112     .9831342    1.177322
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |    .998707    .000953    -1.36   0.175      .996841    1.000577
                            |
                      rabaa |   6.435859   4.400385     2.72   0.006     1.685059     24.5809
       sqrt_killed_at_rabaa |   1.186062   .1434811     1.41   0.158     .9356969    1.503417
                    CPI_pct |   1.009169   .0027856     3.31   0.001     1.003724    1.014643
   public_holiday_christian |   1.08e-06   6.18e-07   -23.94   0.000     3.50e-07    3.32e-06
      public_holiday_muslim |   2.383252   .6485554     3.19   0.001      1.39808    4.062635
                     friday |    .926882   .1875513    -0.38   0.707     .6234288    1.378041
             sqrt_co_ethnic |    .733803   .5390089    -0.42   0.673     .1739148    3.096154
sqrt_distance_from_north_~i |   1.134962   .0816516     1.76   0.078      .985698    1.306828
sqrt_distance_to_gov_centre |   .9919667    .037762    -0.21   0.832     .9206482     1.06881
        sqrt_police_strikes |   1.403078   .1794437     2.65   0.008     1.091991    1.802787
            log10christians |   5.511727   1.874916     5.02   0.000     2.829669    10.73593
       sqrt_coptic_churches |   1.299651   .1225427     2.78   0.005     1.080358    1.563456
            agriculture_pct |   1.003977   .0095605     0.42   0.677     .9854126    1.022891
             university_pct |     1.0124   .0160743     0.78   0.438     .9813799      1.0444
      ln_population_density |   .9790564   .0797132    -0.26   0.795     .8346497    1.148448
           lprevious_attack |   1.836817   .3952947     2.83   0.005     1.204709    2.800593
                      _cons |   1.82e-10   6.11e-10    -6.66   0.000     2.48e-13    1.33e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.136826    1.97178     1.82   0.069     .9150254    10.75345
             pct_mursi_2012 |   1.033579   .0252636     1.35   0.177     .9852309      1.0843
            pct_shafiq_2012 |   1.026848   .0734415     0.37   0.711     .8925385    1.181368
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988665    .001309    -0.87   0.387     .9963043    1.001435
                            |
                      rabaa |    2.25344   2.606499     0.70   0.482     .2334974    21.74754
       sqrt_killed_at_rabaa |   .9218999   .1677472    -0.45   0.655      .645358    1.316943
                    CPI_pct |   .9583174   .0376512    -1.08   0.279     .8872921    1.035028
   public_holiday_christian |   3.128144   3.348575     1.07   0.287     .3837988    25.49587
      public_holiday_muslim |   7.93e-07   2.44e-07   -45.73   0.000     4.34e-07    1.45e-06
                     friday |   1.493275   .6413297     0.93   0.350     .6435272    3.465075
             sqrt_co_ethnic |   1.106621   .5994631     0.19   0.852      .382735     3.19963
sqrt_distance_from_north_~i |   .8530896   .0685716    -1.98   0.048     .7287437    .9986527
sqrt_distance_to_gov_centre |   .7100554   .0868623    -2.80   0.005     .5586801     .902446
        sqrt_police_strikes |   1.267044   .3423408     0.88   0.381      .746117    2.151675
            log10christians |   1.407685   .3579769     1.34   0.179     .8551522    2.317222
       sqrt_coptic_churches |   1.729285   .3408006     2.78   0.005     1.175209    2.544591
            agriculture_pct |   .9790735   .0123044    -1.68   0.092     .9552518    1.003489
             university_pct |   .9908931   .0137365    -0.66   0.509     .9643326    1.018185
      ln_population_density |    .880061   .0798598    -1.41   0.159      .736668    1.051366
           lprevious_attack |   27.87365   15.39217     6.03   0.000     9.443871    82.26926
                      _cons |   .0009079   .0020954    -3.03   0.002     9.85e-06    .0836827
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 307 observations completely determined. Standard errors questionable.

. 
. ********************************************************************************
. *Figure 4 - Marginal effects plot
. ********************************************************************************        
.         
. *Figure 4A - Christians (logged)
. margins, at(log10christians=(1(1)5)) pr(out(2)) pr(out(3)) pr(out(4)) level(90)

Predictive margins                                     Number of obs = 652,922
Model VCE: Robust

1._predict: Pr(dv_burning_beating_bombing==2), predict(out(2))
2._predict: Pr(dv_burning_beating_bombing==3), predict(out(3))
3._predict: Pr(dv_burning_beating_bombing==4), predict(out(4))

1._at: log10christians = 1
2._at: log10christians = 2
3._at: log10christians = 3
4._at: log10christians = 4
5._at: log10christians = 5

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   std. err.      z    P>|z|     [90% conf. interval]
-------------+----------------------------------------------------------------
_predict#_at |
        1 1  |   9.42e-06   7.87e-06     1.20   0.232    -3.53e-06    .0000224
        1 2  |   .0000234   .0000137     1.70   0.089     7.98e-07    .0000459
        1 3  |   .0000575   .0000197     2.92   0.004     .0000251    .0000899
        1 4  |   .0001392    .000018     7.71   0.000     .0001095    .0001689
        1 5  |   .0003293   .0000605     5.44   0.000     .0002298    .0004289
        2 1  |   6.12e-07   7.42e-07     0.83   0.409    -6.08e-07    1.83e-06
        2 2  |   3.37e-06   2.95e-06     1.14   0.252    -1.47e-06    8.22e-06
        2 3  |   .0000186   9.98e-06     1.86   0.063     2.17e-06     .000035
        2 4  |   .0001022   .0000219     4.67   0.000     .0000662    .0001382
        2 5  |    .000561   .0001044     5.37   0.000     .0003893    .0007327
        3 1  |   .0000336   .0000289     1.16   0.246     -.000014    .0000812
        3 2  |   .0000472    .000029     1.63   0.103    -3.92e-07    .0000949
        3 3  |   .0000664   .0000246     2.70   0.007     .0000259     .000107
        3 4  |   .0000934   .0000158     5.91   0.000     .0000674    .0001194
        3 5  |   .0001312   .0000291     4.51   0.000     .0000834     .000179
------------------------------------------------------------------------------

. 
. marginsplot, recast(line) recastci(rarea) plot1opts(lcolor(red) lpattern("--")) plot2opts(lc
> olor(green) lpattern(longdash)) plot3opts(lcolor(blue) lpattern(shortdash dot)) ///
>         ci1opts(color(red%15) lwidth(none)) ci2opts(color(green%15) lwidth(none)) ci3opts(co
> lor(blue%15) lwidth(none)) ///
>         xlabel(1 "10" 2 "100" 3 "1000" 4 "10000" 5 "100000") xtitle("Christians") ///
>         ytitle("Pr(Event type)") ///
>         legend(order(4 "Burning" 5 "Beating" 6 "Bombing") ring(0) position(10) bmargin(medla
> rge)) ///
>         aspectratio(1) ///
>         title("")

Variables that uniquely identify margins: log10christians _equation

. 
. *Figure 4B - Churches (sqrt.)
. margins, at(sqrt_coptic_churches=(0(1)7)) pr(out(2)) pr(out(3)) pr(out(4)) level(90)

Predictive margins                                     Number of obs = 652,922
Model VCE: Robust

1._predict: Pr(dv_burning_beating_bombing==2), predict(out(2))
2._predict: Pr(dv_burning_beating_bombing==3), predict(out(3))
3._predict: Pr(dv_burning_beating_bombing==4), predict(out(4))

1._at: sqrt_coptic_ch~s = 0
2._at: sqrt_coptic_ch~s = 1
3._at: sqrt_coptic_ch~s = 2
4._at: sqrt_coptic_ch~s = 3
5._at: sqrt_coptic_ch~s = 4
6._at: sqrt_coptic_ch~s = 5
7._at: sqrt_coptic_ch~s = 6
8._at: sqrt_coptic_ch~s = 7

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   std. err.      z    P>|z|     [90% conf. interval]
-------------+----------------------------------------------------------------
_predict#_at |
        1 1  |   .0000631   .0000167     3.79   0.000     .0000357    .0000905
        1 2  |   .0000976   .0000159     6.14   0.000     .0000714    .0001237
        1 3  |   .0001503   .0000143    10.52   0.000     .0001268    .0001738
        1 4  |   .0002301   .0000288     7.98   0.000     .0001827    .0002775
        1 5  |     .00035   .0000738     4.74   0.000     .0002286    .0004714
        1 6  |   .0005291   .0001617     3.27   0.001     .0002632     .000795
        1 7  |   .0007947   .0003187     2.49   0.013     .0002705     .001319
        1 8  |   .0011873   .0005891     2.02   0.044     .0002183    .0021563
        2 1  |   .0000904   .0000294     3.07   0.002      .000042    .0001387
        2 2  |   .0001174   .0000279     4.20   0.000     .0000714    .0001633
        2 3  |   .0001524   .0000242     6.29   0.000     .0001126    .0001922
        2 4  |   .0001978   .0000213     9.30   0.000     .0001628    .0002328
        2 5  |   .0002567    .000032     8.01   0.000      .000204    .0003094
        2 6  |   .0003329   .0000642     5.19   0.000     .0002273    .0004384
        2 7  |   .0004313   .0001191     3.62   0.000     .0002355    .0006271
        2 8  |   .0005583   .0002032     2.75   0.006     .0002242    .0008925
        3 1  |   .0000403   .0000128     3.14   0.002     .0000192    .0000614
        3 2  |   .0000696   .0000152     4.59   0.000     .0000447    .0000946
        3 3  |   .0001204    .000032     3.76   0.000     .0000677     .000173
        3 4  |   .0002079    .000086     2.42   0.016     .0000665    .0003493
        3 5  |   .0003589   .0002115     1.70   0.090      .000011    .0007069
        3 6  |   .0006191   .0004789     1.29   0.196    -.0001687    .0014068
        3 7  |   .0010664   .0010238     1.04   0.298    -.0006176    .0027505
        3 8  |   .0018336    .002101     0.87   0.383    -.0016222    .0052894
------------------------------------------------------------------------------

. 
. marginsplot, recast(line) recastci(rarea) plot1opts(lcolor(red) lpattern("--")) plot2opts(lc
> olor(green) lpattern(longdash)) plot3opts(lcolor(blue) lpattern(shortdash dot)) ///
>         ci1opts(color(red%15) lwidth(none)) ci2opts(color(green%15) lwidth(none)) ci3opts(co
> lor(blue%15) lwidth(none)) ///
>         xtitle("Churches (sqrt)") ///
>         ytitle("Pr(Event type)") ///
>         aspectratio(1) ///
>         legend(off) ///
>         title("")       

Variables that uniquely identify margins: sqrt_coptic_churches _equation

.         
. *Figure 4C - Mursi pct.
. margins, at(pct_mursi_2012=(0(10)60)) pr(out(2)) pr(out(3)) pr(out(4)) level(90)

Predictive margins                                     Number of obs = 652,922
Model VCE: Robust

1._predict: Pr(dv_burning_beating_bombing==2), predict(out(2))
2._predict: Pr(dv_burning_beating_bombing==3), predict(out(3))
3._predict: Pr(dv_burning_beating_bombing==4), predict(out(4))

1._at: pct_mursi_2012 =  0
2._at: pct_mursi_2012 = 10
3._at: pct_mursi_2012 = 20
4._at: pct_mursi_2012 = 30
5._at: pct_mursi_2012 = 40
6._at: pct_mursi_2012 = 50
7._at: pct_mursi_2012 = 60

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   std. err.      z    P>|z|     [90% conf. interval]
-------------+----------------------------------------------------------------
_predict#_at |
        1 1  |    .000041   .0000158     2.59   0.010      .000015    .0000671
        1 2  |   .0000704   .0000172     4.08   0.000      .000042    .0000987
        1 3  |   .0001199   .0000143     8.37   0.000     .0000964    .0001435
        1 4  |   .0002027   .0000202    10.04   0.000     .0001695    .0002359
        1 5  |   .0003393   .0000708     4.79   0.000     .0002228    .0004558
        1 6  |   .0005623    .000188     2.99   0.003     .0002531    .0008714
        1 7  |   .0009224   .0004243     2.17   0.030     .0002245    .0016202
        2 1  |   .0000184   .0000121     1.52   0.129    -1.56e-06    .0000384
        2 2  |   .0000402   .0000178     2.26   0.024      .000011    .0000694
        2 3  |   .0000876   .0000204     4.30   0.000     .0000541    .0001212
        2 4  |    .000191   .0000209     9.15   0.000     .0001567    .0002253
        2 5  |   .0004156   .0001087     3.82   0.000     .0002367    .0005944
        2 6  |   .0009021   .0004254     2.12   0.034     .0002024    .0016019
        2 7  |   .0019499   .0013361     1.46   0.144    -.0002479    .0041476
        3 1  |   .0000416   .0000237     1.75   0.079     2.59e-06    .0000807
        3 2  |   .0000579   .0000197     2.94   0.003     .0000256    .0000903
        3 3  |   .0000805   .0000128     6.30   0.000     .0000595    .0001015
        3 4  |   .0001119   .0000261     4.28   0.000     .0000689    .0001549
        3 5  |   .0001554   .0000701     2.22   0.027     .0000401    .0002706
        3 6  |   .0002155    .000148     1.46   0.145    -.0000279    .0004589
        3 7  |   .0002982   .0002764     1.08   0.281    -.0001564    .0007529
------------------------------------------------------------------------------

. 
. marginsplot, recast(line) recastci(rarea) plot1opts(lcolor(red) lpattern("--")) plot2opts(lc
> olor(green) lpattern(longdash)) plot3opts(lcolor(blue) lpattern(shortdash dot)) ///
>         ci1opts(color(red%15) lwidth(none)) ci2opts(color(green%15) lwidth(none)) ci3opts(co
> lor(blue%15) lwidth(none)) ///
>         xtitle("Mursi (%)") ///
>         ytitle("Pr(Event type)") ///
>         legend(off) ///
>         aspectratio(1) ///
>         title("")       

Variables that uniquely identify margins: pct_mursi_2012 _equation

.         
. *Figure 4D - CPI        
. margins, at(CPI_pct=(-5(10)95)) pr(out(2)) pr(out(3)) pr(out(4)) level(90)

Predictive margins                                     Number of obs = 652,922
Model VCE: Robust

1._predict: Pr(dv_burning_beating_bombing==2), predict(out(2))
2._predict: Pr(dv_burning_beating_bombing==3), predict(out(3))
3._predict: Pr(dv_burning_beating_bombing==4), predict(out(4))

1._at:  CPI_pct = -5
2._at:  CPI_pct =  5
3._at:  CPI_pct = 15
4._at:  CPI_pct = 25
5._at:  CPI_pct = 35
6._at:  CPI_pct = 45
7._at:  CPI_pct = 55
8._at:  CPI_pct = 65
9._at:  CPI_pct = 75
10._at: CPI_pct = 85
11._at: CPI_pct = 95

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   std. err.      z    P>|z|     [90% conf. interval]
-------------+----------------------------------------------------------------
_predict#_at |
       1  1  |   .0003464   .0001639     2.11   0.035     .0000768     .000616
       1  2  |    .000126   .0000303     4.16   0.000     .0000762    .0001758
       1  3  |   .0000446   .0000427     1.05   0.296    -.0000256    .0001148
       1  4  |   .0000155   .0000263     0.59   0.556    -.0000278    .0000588
       1  5  |   5.30e-06    .000013     0.41   0.683    -.0000161    .0000267
       1  6  |   1.80e-06   5.76e-06     0.31   0.755    -7.67e-06    .0000113
       1  7  |   6.10e-07   2.40e-06     0.25   0.800    -3.35e-06    4.57e-06
       1  8  |   2.06e-07   9.67e-07     0.21   0.831    -1.38e-06    1.80e-06
       1  9  |   6.98e-08   3.78e-07     0.18   0.854    -5.53e-07    6.92e-07
       1 10  |   2.36e-08   1.45e-07     0.16   0.871    -2.16e-07    2.63e-07
       1 11  |   7.98e-09   5.50e-08     0.14   0.885    -8.25e-08    9.85e-08
       2  1  |   .0002123   .0000146    14.53   0.000     .0001883    .0002364
       2  2  |   .0002338   .0000184    12.70   0.000     .0002035     .000264
       2  3  |   .0002567   .0000244    10.52   0.000     .0002165    .0002968
       2  4  |   .0002814   .0000326     8.64   0.000     .0002279     .000335
       2  5  |   .0003083   .0000428     7.20   0.000     .0002379    .0003788
       2  6  |   .0003377   .0000552     6.12   0.000     .0002469    .0004285
       2  7  |   .0003698   .0000698     5.30   0.000     .0002549    .0004846
       2  8  |   .0004048   .0000869     4.66   0.000     .0002619    .0005478
       2  9  |   .0004432   .0001067     4.15   0.000     .0002677    .0006188
       2 10  |   .0004852   .0001296     3.74   0.000      .000272    .0006984
       2 11  |   .0005311   .0001559     3.41   0.001     .0002746    .0007875
       3  1  |   .0001227   .0000279     4.39   0.000     .0000767    .0001686
       3  2  |   .0000803   .0000199     4.04   0.000     .0000476    .0001131
       3  3  |   .0000525   .0000323     1.62   0.104    -6.54e-07    .0001058
       3  4  |   .0000343   .0000344     1.00   0.319    -.0000223     .000091
       3  5  |   .0000224   .0000313     0.72   0.473     -.000029    .0000739
       3  6  |   .0000147   .0000262     0.56   0.575    -.0000284    .0000577
       3  7  |   9.58e-06   .0000208     0.46   0.646    -.0000247    .0000439
       3  8  |   6.25e-06   .0000161     0.39   0.697    -.0000202    .0000327
       3  9  |   4.08e-06   .0000121     0.34   0.736    -.0000158     .000024
       3 10  |   2.67e-06   8.95e-06     0.30   0.766    -.0000121    .0000174
       3 11  |   1.74e-06   6.53e-06     0.27   0.790    -9.00e-06    .0000125
------------------------------------------------------------------------------

. 
. marginsplot, recast(line) recastci(rarea) plot1opts(lcolor(red) lpattern("--")) plot2opts(lc
> olor(green) lpattern(longdash)) plot3opts(lcolor(blue) lpattern(shortdash dot)) ///
>         ci1opts(color(red%15) lwidth(none)) ci2opts(color(green%15) lwidth(none)) ci3opts(co
> lor(blue%15) lwidth(none)) ///
>         xtitle("CPI") ///
>         ytitle("Pr(Event type)") ///
>         xlabel(-5 15 35 55 75 95) ///
>         legend(off) ///
>         aspectratio(1) ///
>         title("")

Variables that uniquely identify margins: CPI_pct _equation

.         
. *Figure 4E - Dist. N. Sinai (sqrt.)
. margins, at(sqrt_distance_from_north_sinai=(5(5)30)) pr(out(2)) pr(out(3)) pr(out(4)) level(
> 90)

Predictive margins                                     Number of obs = 652,922
Model VCE: Robust

1._predict: Pr(dv_burning_beating_bombing==2), predict(out(2))
2._predict: Pr(dv_burning_beating_bombing==3), predict(out(3))
3._predict: Pr(dv_burning_beating_bombing==4), predict(out(4))

1._at: sqrt_distance_~i =  5
2._at: sqrt_distance_~i = 10
3._at: sqrt_distance_~i = 15
4._at: sqrt_distance_~i = 20
5._at: sqrt_distance_~i = 25
6._at: sqrt_distance_~i = 30

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   std. err.      z    P>|z|     [90% conf. interval]
-------------+----------------------------------------------------------------
_predict#_at |
        1 1  |   .0000659   .0000415     1.59   0.112    -2.35e-06    .0001342
        1 2  |   .0000973   .0000395     2.47   0.014     .0000324    .0001622
        1 3  |   .0001426   .0000274     5.20   0.000     .0000975    .0001877
        1 4  |   .0002078    .000023     9.04   0.000       .00017    .0002456
        1 5  |    .000301   .0000879     3.42   0.001     .0001563    .0004456
        1 6  |   .0004333   .0002163     2.00   0.045     .0000774    .0007891
        2 1  |   .0000375   .0000381     0.99   0.324    -.0000251    .0001002
        2 2  |   .0000708   .0000467     1.52   0.130    -6.03e-06    .0001476
        2 3  |   .0001331   .0000409     3.25   0.001     .0000658    .0002005
        2 4  |     .00025   .0000259     9.65   0.000     .0002074    .0002926
        2 5  |   .0004684      .0002     2.34   0.019     .0001395    .0007973
        2 6  |   .0008745   .0006778     1.29   0.197    -.0002404    .0019894
        3 1  |   .0006486   .0006528     0.99   0.320    -.0004252    .0017225
        3 2  |   .0002948   .0001829     1.61   0.107    -6.03e-06    .0005955
        3 3  |   .0001335   .0000329     4.06   0.000     .0000794    .0001875
        3 4  |   .0000603   .0000139     4.35   0.000     .0000375    .0000831
        3 5  |   .0000272   .0000164     1.65   0.098     1.35e-07    .0000542
        3 6  |   .0000122   .0000122     1.00   0.317    -7.88e-06    .0000323
------------------------------------------------------------------------------

. 
. marginsplot, recast(line) recastci(rarea) plot1opts(lcolor(red) lpattern("--")) plot2opts(lc
> olor(green) lpattern(longdash)) plot3opts(lcolor(blue) lpattern(shortdash dot)) ///
>         ci1opts(color(red%15) lwidth(none)) ci2opts(color(green%15) lwidth(none)) ci3opts(co
> lor(blue%15) lwidth(none)) ///
>         xtitle("Distance to N. Sinai (sqrt)") ///
>         ytitle("Pr(Event type)") ///
>         legend(off) ///
>         aspectratio(1) ///
>         title("")

Variables that uniquely identify margins: sqrt_distance_from_north_sinai _equation

.         
. *Figure 4F - Dist. Gov. centre (sqrt.)
. margins, at(sqrt_distance_to_gov_centre=(0(5)20)) pr(out(2)) pr(out(3)) pr(out(4)) level(90)

Predictive margins                                     Number of obs = 652,922
Model VCE: Robust

1._predict: Pr(dv_burning_beating_bombing==2), predict(out(2))
2._predict: Pr(dv_burning_beating_bombing==3), predict(out(3))
3._predict: Pr(dv_burning_beating_bombing==4), predict(out(4))

1._at: sqrt_distance_~e =  0
2._at: sqrt_distance_~e =  5
3._at: sqrt_distance_~e = 10
4._at: sqrt_distance_~e = 15
5._at: sqrt_distance_~e = 20

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   std. err.      z    P>|z|     [90% conf. interval]
-------------+----------------------------------------------------------------
_predict#_at |
        1 1  |   .0003958   .0000792     5.00   0.000     .0002656    .0005261
        1 2  |   .0001749   .0000206     8.51   0.000     .0001411    .0002087
        1 3  |   .0000757   .0000212     3.57   0.000     .0000408    .0001106
        1 4  |   .0000323   .0000159     2.02   0.043     6.05e-06    .0000585
        1 5  |   .0000136   9.74e-06     1.39   0.164    -2.47e-06    .0000296
        2 1  |   .0002375   .0000492     4.83   0.000     .0001566    .0003184
        2 2  |   .0002297    .000018    12.77   0.000     .0002001    .0002593
        2 3  |   .0002214   .0000447     4.95   0.000     .0001478    .0002949
        2 4  |    .000213   .0000818     2.61   0.009     .0000785    .0003475
        2 5  |   .0002048   .0001169     1.75   0.080     .0000125    .0003971
        3 1  |   .0003484   .0001844     1.89   0.059     .0000451    .0006517
        3 2  |   .0000633    .000011     5.78   0.000     .0000453    .0000813
        3 3  |   .0000115   8.28e-06     1.38   0.166    -2.16e-06    .0000251
        3 4  |   2.07e-06   2.75e-06     0.75   0.451    -2.45e-06    6.59e-06
        3 5  |   3.74e-07   7.24e-07     0.52   0.606    -8.17e-07    1.56e-06
------------------------------------------------------------------------------

. 
. marginsplot, recast(line) recastci(rarea) plot1opts(lcolor(red) lpattern("--")) plot2opts(lc
> olor(green) lpattern(longdash)) plot3opts(lcolor(blue) lpattern(shortdash dot)) ///
>         ci1opts(color(red%15) lwidth(none)) ci2opts(color(green%15) lwidth(none)) ci3opts(co
> lor(blue%15) lwidth(none)) ///
>         xtitle("Distance to gov (sqrt)") ///
>         ytitle("Pr(Event type)") ///
>         legend(off) ///
>         aspectratio(1) ///
>         title("")

Variables that uniquely identify margins: sqrt_distance_to_gov_centre _equation

. 
. *Figure 4G Police strikes (sqrt.)
. margins, at(sqrt_police_strikes=(0(1)3)) pr(out(2)) pr(out(3)) pr(out(4)) level(90)

Predictive margins                                     Number of obs = 652,922
Model VCE: Robust

1._predict: Pr(dv_burning_beating_bombing==2), predict(out(2))
2._predict: Pr(dv_burning_beating_bombing==3), predict(out(3))
3._predict: Pr(dv_burning_beating_bombing==4), predict(out(4))

1._at: sqrt_police_st~s = 0
2._at: sqrt_police_st~s = 1
3._at: sqrt_police_st~s = 2
4._at: sqrt_police_st~s = 3

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   std. err.      z    P>|z|     [90% conf. interval]
-------------+----------------------------------------------------------------
_predict#_at |
        1 1  |   .0001619    .000026     6.23   0.000     .0001191    .0002047
        1 2  |   .0002338    .000024     9.75   0.000     .0001944    .0002732
        1 3  |   .0003363   .0000813     4.13   0.000     .0002024    .0004701
        1 4  |   .0004817   .0001965     2.45   0.014     .0001586    .0008049
        2 1  |   .0002001   .0000126    15.84   0.000     .0001793    .0002209
        2 2  |     .00028    .000039     7.19   0.000     .0002159    .0003441
        2 3  |   .0003915   .0001019     3.84   0.000     .0002239    .0005591
        2 4  |   .0005467    .000211     2.59   0.010     .0001996    .0008938
        3 1  |   .0000841   .0000154     5.47   0.000     .0000588    .0001094
        3 2  |   .0001064   .0000225     4.74   0.000     .0000694    .0001434
        3 3  |   .0001346   .0000605     2.22   0.026     .0000351    .0002341
        3 4  |   .0001701    .000121     1.41   0.160    -.0000289    .0003691
------------------------------------------------------------------------------

.         
. marginsplot, recast(line) recastci(rarea) plot1opts(lcolor(red) lpattern("--")) plot2opts(lc
> olor(green) lpattern(longdash)) plot3opts(lcolor(blue) lpattern(shortdash dot)) ///
>         ci1opts(color(red%15) lwidth(none)) ci2opts(color(green%15) lwidth(none)) ci3opts(co
> lor(blue%15) lwidth(none)) ///
>         xtitle("Police strikes (sqrt)") ///
>         ytitle("Pr(Event type)") ///
>         aspectratio(1) ///
>         legend(off) ///
>         title("")       

Variables that uniquely identify margins: sqrt_police_strikes _equation

.         
. 
. ********************************************************************************
. *Appendix Figure A1 - Link plot
. ********************************************************************************
. 
. *Add factor markers to globals
. *Controls
. global controls_link log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density i.lprevious_attack

. 
. *H1
. global h1_link i.mboccup pct_mursi_2012 pct_shafiq_2012 shafiq_sq i.rabaa sqrt_killed_at_rab
> aa

. 
. *H2
. global h2_link CPI_pct i.public_holiday_christian i.public_holiday_muslim i.friday sqrt_co_e
> thnic

. 
. *H3
. global h3_link sqrt_distance_from_north_sinai sqrt_distance_to_gov_centre

. 
. *H4
. global h4_link sqrt_police_strikes

. 
. vce2way mlogit $basic_dv $h1_link $h2_link $h3_link $h4_link $controls_link, cluster(gov_ID 
> adm2_pcode)

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.6687                      Pseudo R2     =  0.2169

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                  1.mboccup |   2.519121   .2149879    11.72   0.000     2.097752    2.940489
             pct_mursi_2012 |   .0555903   .0145586     3.82   0.000      .027056    .0841247
            pct_shafiq_2012 |   .0405967   .0450008     0.90   0.367    -.0476032    .1287966
                  shafiq_sq |  -.0012095   .0009719    -1.24   0.213    -.0031143    .0006953
                    0.rabaa |          0   9.49e-09     0.00   1.000    -1.86e-08    1.86e-08
                    1.rabaa |   4.741909   .2837735    16.71   0.000     4.185723    5.298095
       sqrt_killed_at_rabaa |   .0208104   .0999446     0.21   0.835    -.1750774    .2166983
                    CPI_pct |  -.1082522   .0739391    -1.46   0.143    -.2531702    .0366657
 0.public_holiday_christian |          0   4.69e-09     0.00   1.000    -9.20e-09    9.20e-09
 1.public_holiday_christian |  -13.36599   .5175606   -25.82   0.000    -14.38039   -12.35159
    0.public_holiday_muslim |          0   6.43e-09     0.00   1.000    -1.26e-08    1.26e-08
    1.public_holiday_muslim |  -.9818595   1.082775    -0.91   0.365    -3.104059     1.14034
                   0.friday |          0   3.86e-09     0.00   1.000    -7.57e-09    7.57e-09
                   1.friday |    .663455   .1740658     3.81   0.000     .3222923    1.004618
             sqrt_co_ethnic |   .4194598   .2551401     1.64   0.100    -.0806056    .9195253
sqrt_distance_from_north_~i |   .0803634   .0475203     1.69   0.091    -.0127746    .1735014
sqrt_distance_to_gov_centre |  -.1774618   .0451491    -3.93   0.000    -.2659524   -.0889712
        sqrt_police_strikes |   .3949903   .1930199     2.05   0.041     .0166783    .7733022
            log10christians |   .9176519   .2463427     3.73   0.000     .4348291    1.400475
       sqrt_coptic_churches |   .4487481   .1142824     3.93   0.000     .2247587    .6727374
            agriculture_pct |  -.0044175   .0100787    -0.44   0.661    -.0241715    .0153365
             university_pct |   .0093557   .0131778     0.71   0.478    -.0164723    .0351837
      ln_population_density |  -.0461034   .0753024    -0.61   0.540    -.1936934    .1014866
         0.lprevious_attack |          0   2.45e-10     0.00   1.000    -4.81e-10    4.81e-10
         1.lprevious_attack |   .7405662   .7153899     1.04   0.301    -.6615721    2.142705
                      _cons |  -16.45467   1.609804   -10.22   0.000    -19.60983   -13.29951
----------------------------+----------------------------------------------------------------
3                           |
                  0.mboccup |          0   5.53e-10     0.00   1.000    -1.08e-09    1.08e-09
                  1.mboccup |   .7186564   .4009647     1.79   0.073      -.06722    1.504533
             pct_mursi_2012 |   .0780845   .0221851     3.52   0.000     .0346025    .1215664
            pct_shafiq_2012 |   .0731162   .0459834     1.59   0.112    -.0170096    .1632421
                  shafiq_sq |  -.0012938   .0009542    -1.36   0.175     -.003164    .0005764
                    0.rabaa |          0   2.64e-18     0.00   1.000    -5.18e-18    5.18e-18
                    1.rabaa |   1.861885   .6837292     2.72   0.006     .5218008     3.20197
       sqrt_killed_at_rabaa |   .1706384   .1209727     1.41   0.158    -.0664636    .4077405
                    CPI_pct |   .0091272   .0027603     3.31   0.001     .0037171    .0145372
 0.public_holiday_christian |          0   1.53e-17     0.00   1.000    -3.00e-17    3.00e-17
 1.public_holiday_christian |  -13.74158   .5740337   -23.94   0.000    -14.86667    -12.6165
    0.public_holiday_muslim |          0   2.83e-17     0.00   1.000    -5.55e-17    5.55e-17
    1.public_holiday_muslim |    .868466   .2721304     3.19   0.001     .3351002    1.401832
                   0.friday |          0   1.95e-17     0.00   1.000    -3.82e-17    3.82e-17
                   1.friday |   -.075929   .2023464    -0.38   0.707    -.4725208    .3206627
             sqrt_co_ethnic |  -.3095146   .7345417    -0.42   0.673     -1.74919    1.130161
sqrt_distance_from_north_~i |   .1265987   .0719421     1.76   0.078    -.0144053    .2676028
sqrt_distance_to_gov_centre |  -.0080658   .0380678    -0.21   0.832    -.0826773    .0665458
        sqrt_police_strikes |   .3386683   .1278929     2.65   0.008     .0880028    .5893338
            log10christians |   1.706878   .3401686     5.02   0.000      1.04016    2.373596
       sqrt_coptic_churches |   .2620958   .0942889     2.78   0.005     .0772929    .4468988
            agriculture_pct |   .0039691   .0095226     0.42   0.677    -.0146948    .0226331
             university_pct |   .0123235   .0158774     0.78   0.438    -.0187957    .0434427
      ln_population_density |   -.021166   .0814184    -0.26   0.795    -.1807431    .1384112
         0.lprevious_attack |          0   1.73e-17     0.00   1.000    -3.38e-17    3.38e-17
         1.lprevious_attack |   .6080344   .2152063     2.83   0.005     .1862378    1.029831
                      _cons |  -22.42882   3.365415    -6.66   0.000    -29.02491   -15.83273
----------------------------+----------------------------------------------------------------
4                           |
                  0.mboccup |          0   7.63e-17     0.00   1.000    -1.50e-16    1.50e-16
                  1.mboccup |   1.143212   .6285906     1.82   0.069    -.0888034    2.375227
             pct_mursi_2012 |   .0330277   .0244428     1.35   0.177    -.0148793    .0809347
            pct_shafiq_2012 |   .0264936   .0715213     0.37   0.711    -.1136856    .1666729
                  shafiq_sq |  -.0011341   .0013104    -0.87   0.387    -.0037025    .0014343
                    0.rabaa |          0   4.61e-17     0.00   1.000    -9.04e-17    9.04e-17
                    1.rabaa |   .8124581   1.156676     0.70   0.482    -1.454584    3.079501
       sqrt_killed_at_rabaa |  -.0813186   .1819582    -0.45   0.655    -.4379501    .2753129
                    CPI_pct |  -.0425762   .0392889    -1.08   0.279     -.119581    .0344285
 0.public_holiday_christian |          0   2.32e-17     0.00   1.000    -4.55e-17    4.55e-17
 1.public_holiday_christian |    1.14044   1.070467     1.07   0.287    -.9576369    3.238516
    0.public_holiday_muslim |          0   8.55e-18     0.00   1.000    -1.68e-17    1.68e-17
    1.public_holiday_muslim |  -14.04784   .3071965   -45.73   0.000    -14.64993   -13.44575
                   0.friday |          0   3.70e-18     0.00   1.000    -7.25e-18    7.25e-18
                   1.friday |   .4009717   .4294786     0.93   0.350    -.4407909    1.242734
             sqrt_co_ethnic |   .1013114   .5417058     0.19   0.852    -.9604125    1.163035
sqrt_distance_from_north_~i |  -.1588907   .0803803    -1.98   0.048    -.3164332   -.0013482
sqrt_distance_to_gov_centre |  -.3424123   .1223318    -2.80   0.005    -.5821782   -.1026464
        sqrt_police_strikes |   .2366869   .2701885     0.88   0.381    -.2928729    .7662467
            log10christians |   .3419466   .2543018     1.34   0.179    -.1564759     .840369
       sqrt_coptic_churches |   .5477079   .1970761     2.78   0.005     .1614459    .9339698
            agriculture_pct |  -.0211486   .0125674    -1.68   0.092    -.0457803    .0034832
             university_pct |  -.0091486   .0138627    -0.66   0.509     -.036319    .0180218
      ln_population_density |   -.127764   .0907434    -1.41   0.159    -.3056179    .0500898
         0.lprevious_attack |          0   6.86e-34     0.00   1.000    -1.35e-33    1.35e-33
         1.lprevious_attack |   3.327682   .5522121     6.03   0.000     2.245366    4.409998
                      _cons |  -7.004383   2.308032    -3.03   0.002    -11.52804   -2.480723
---------------------------------------------------------------------------------------------
Note: 307 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. 
. *retaining variable ordering
. local varlist mboccup pct_mursi_2012 pct_shafiq_2012 shafiq_sq rabaa sqrt_killed_at_rabaa CP
> I_pct public_holiday_christian public_holiday_muslim friday sqrt_co_ethnic sqrt_distance_fro
> m_north_sinai sqrt_distance_to_gov_centre sqrt_police_strikes log10christians sqrt_coptic_ch
> urches agriculture_pct university_pct ln_population_density lprevious_attack

. 
. 
. foreach v of var `varlist' {
  2.         local i = `i' + 1
  3.         mlogitplot `v', symbols(No Bu Be Bo) linepvalues(.01) scale(.5) ///
>         varlabels mcolors(black red green blue) lcolor(black%75) ///
>         plotregion(lcolor(black) margin(l=5 r=5)) linegapfactor(2) ///
>         titlebottom(" ")  sdlabel(" ") msizefactor(2) ///
>         graphoptions(lpattern(shortdash) lwidth(medthick)) name(g`i', replace)
  4.         gr_edit yaxis1.style.editstyle majorstyle(tickangle(vertical)) editcopy
  5.         gr_edit yaxis1.style.editstyle majorstyle(tickstyle(textstyle(size(huge)))) editc
> opy
  6.         gr_edit plotregion2._xylines[1].style.editstyle linestyle(width(none)) editcopy
  7.         gr_edit xaxis2.title.text = {}
  8.         gr_edit xaxis2.title.style.editstyle size(large) editcopy 
  9.         local graphs "`graphs' g`i'"
 10. }

. graph combine `graphs', cols(5) graphregion(margin(l=0 r=1)) imargin(0 0 0) ysize(4) ///
> caption("Note: No = no event; Bu = Burning; Be = Beating; Bo = Bombing", size(tiny))

. gr_edit plotregion1.graph1.xaxis2.title.text = {}

. gr_edit plotregion1.graph1.xaxis2.title.text.Arrpush Odds Ratio Relative to Category "No"

. gr_edit plotregion1.graph2.xaxis2.title.text = {}

. gr_edit plotregion1.graph2.xaxis2.title.text.Arrpush Odds Ratio Relative to Category "No"

. gr_edit plotregion1.graph3.xaxis2.title.text = {}

. gr_edit plotregion1.graph3.xaxis2.title.text.Arrpush Odds Ratio Relative to Category "No"

. gr_edit plotregion1.graph4.xaxis2.title.text = {}

. gr_edit plotregion1.graph4.xaxis2.title.text.Arrpush Odds Ratio Relative to Category "No"

. gr_edit plotregion1.graph5.xaxis2.title.text = {}

. gr_edit plotregion1.graph5.xaxis2.title.text.Arrpush Odds Ratio Relative to Category "No"

. gr_edit plotregion1.graph16.xaxis1.title.style.editstyle size(large) editcopy

. gr_edit plotregion1.graph16.xaxis1.title.text = {}

. gr_edit plotregion1.graph16.xaxis1.title.text.Arrpush Logit Coefficient Relative to Category
>  "No"

. gr_edit plotregion1.graph17.xaxis1.title.style.editstyle size(large) editcopy

. gr_edit plotregion1.graph17.xaxis1.title.text = {}

. gr_edit plotregion1.graph17.xaxis1.title.text.Arrpush Logit Coefficient Relative to Category
>  "No"

. gr_edit plotregion1.graph18.xaxis1.title.style.editstyle size(large) editcopy

. gr_edit plotregion1.graph18.xaxis1.title.text = {}

. gr_edit plotregion1.graph18.xaxis1.title.text.Arrpush Logit Coefficient Relative to Category
>  "No"

. gr_edit plotregion1.graph19.xaxis1.title.style.editstyle size(large) editcopy

. gr_edit plotregion1.graph19.xaxis1.title.text = {}

. gr_edit plotregion1.graph19.xaxis1.title.text.Arrpush Logit Coefficient Relative to Category
>  "No"

. gr_edit plotregion1.graph20.xaxis1.title.style.editstyle size(large) editcopy

. gr_edit plotregion1.graph20.xaxis1.title.text = {}

. gr_edit plotregion1.graph20.xaxis1.title.text.Arrpush Logit Coefficient Relative to Category
>  "No"

. 
. 
.         
. ********************************************************************************
. *Appendix Table B1 - Dropping smallest and largest predicted probabilities 
. ********************************************************************************
. 
. egen pattern = group(log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density lprevious_attack ///
> mboccup pct_mursi_2012 pct_shafiq_2012 shafiq_sq rabaa sqrt_killed_at_rabaa ///
> CPI_pct public_holiday_christian public_holiday_muslim friday sqrt_co_ethnic ///
> sqrt_distance_from_north_sinai sqrt_distance_to_gov_centre ///
> sqrt_police_strikes)
(80,725 missing values generated)

. 
. vce2way mlogit ///
> $basic_dv ///
> log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density lprevious_attack ///
> mboccup pct_mursi_2012 pct_shafiq_2012 shafiq_sq rabaa sqrt_killed_at_rabaa ///
> CPI_pct public_holiday_christian public_holiday_muslim friday sqrt_co_ethnic ///
> sqrt_distance_from_north_sinai sqrt_distance_to_gov_centre ///
> sqrt_police_strikes, ///
> cluster(gov_ID adm2_pcode)

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.6687                      Pseudo R2     =  0.2169

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
            log10christians |   .9176519   .2463427     3.73   0.000     .4348291    1.400475
       sqrt_coptic_churches |   .4487481   .1142824     3.93   0.000     .2247587    .6727374
            agriculture_pct |  -.0044175   .0100787    -0.44   0.661    -.0241715    .0153365
             university_pct |   .0093557   .0131778     0.71   0.478    -.0164723    .0351837
      ln_population_density |  -.0461034   .0753024    -0.61   0.540    -.1936934    .1014866
           lprevious_attack |   .7405662   .7153899     1.04   0.301    -.6615721    2.142705
                    mboccup |   2.519121   .2149879    11.72   0.000     2.097752    2.940489
             pct_mursi_2012 |   .0555903   .0145586     3.82   0.000      .027056    .0841247
            pct_shafiq_2012 |   .0405967   .0450008     0.90   0.367    -.0476032    .1287966
                  shafiq_sq |  -.0012095   .0009719    -1.24   0.213    -.0031143    .0006953
                      rabaa |   4.741909   .2837735    16.71   0.000     4.185723    5.298095
       sqrt_killed_at_rabaa |   .0208104   .0999446     0.21   0.835    -.1750774    .2166983
                    CPI_pct |  -.1082522   .0739391    -1.46   0.143    -.2531702    .0366657
   public_holiday_christian |  -13.36599   .5175606   -25.82   0.000    -14.38039   -12.35159
      public_holiday_muslim |  -.9818595   1.082775    -0.91   0.365    -3.104059     1.14034
                     friday |    .663455   .1740658     3.81   0.000     .3222923    1.004618
             sqrt_co_ethnic |   .4194598   .2551401     1.64   0.100    -.0806056    .9195253
sqrt_distance_from_north_~i |   .0803634   .0475203     1.69   0.091    -.0127746    .1735014
sqrt_distance_to_gov_centre |  -.1774618   .0451491    -3.93   0.000    -.2659524   -.0889712
        sqrt_police_strikes |   .3949903   .1930199     2.05   0.041     .0166783    .7733022
                      _cons |  -16.45467   1.609804   -10.22   0.000    -19.60983   -13.29951
----------------------------+----------------------------------------------------------------
3                           |
            log10christians |   1.706878   .3401686     5.02   0.000      1.04016    2.373596
       sqrt_coptic_churches |   .2620958   .0942889     2.78   0.005     .0772929    .4468988
            agriculture_pct |   .0039691   .0095226     0.42   0.677    -.0146948    .0226331
             university_pct |   .0123235   .0158774     0.78   0.438    -.0187957    .0434427
      ln_population_density |   -.021166   .0814184    -0.26   0.795    -.1807431    .1384112
           lprevious_attack |   .6080344   .2152063     2.83   0.005     .1862378    1.029831
                    mboccup |   .7186564   .4009647     1.79   0.073      -.06722    1.504533
             pct_mursi_2012 |   .0780845   .0221851     3.52   0.000     .0346025    .1215664
            pct_shafiq_2012 |   .0731162   .0459834     1.59   0.112    -.0170096    .1632421
                  shafiq_sq |  -.0012938   .0009542    -1.36   0.175     -.003164    .0005764
                      rabaa |   1.861885   .6837292     2.72   0.006     .5218008     3.20197
       sqrt_killed_at_rabaa |   .1706384   .1209727     1.41   0.158    -.0664636    .4077405
                    CPI_pct |   .0091272   .0027603     3.31   0.001     .0037171    .0145372
   public_holiday_christian |  -13.74158   .5740337   -23.94   0.000    -14.86667    -12.6165
      public_holiday_muslim |    .868466   .2721304     3.19   0.001     .3351002    1.401832
                     friday |   -.075929   .2023464    -0.38   0.707    -.4725208    .3206627
             sqrt_co_ethnic |  -.3095146   .7345417    -0.42   0.673     -1.74919    1.130161
sqrt_distance_from_north_~i |   .1265987   .0719421     1.76   0.078    -.0144053    .2676028
sqrt_distance_to_gov_centre |  -.0080658   .0380678    -0.21   0.832    -.0826773    .0665458
        sqrt_police_strikes |   .3386683   .1278929     2.65   0.008     .0880028    .5893338
                      _cons |  -22.42882   3.365415    -6.66   0.000    -29.02491   -15.83273
----------------------------+----------------------------------------------------------------
4                           |
            log10christians |   .3419466   .2543018     1.34   0.179    -.1564759     .840369
       sqrt_coptic_churches |   .5477079   .1970761     2.78   0.005     .1614459    .9339698
            agriculture_pct |  -.0211486   .0125674    -1.68   0.092    -.0457803    .0034832
             university_pct |  -.0091486   .0138627    -0.66   0.509     -.036319    .0180218
      ln_population_density |   -.127764   .0907434    -1.41   0.159    -.3056179    .0500898
           lprevious_attack |   3.327682   .5522121     6.03   0.000     2.245366    4.409998
                    mboccup |   1.143212   .6285906     1.82   0.069    -.0888034    2.375227
             pct_mursi_2012 |   .0330277   .0244428     1.35   0.177    -.0148793    .0809347
            pct_shafiq_2012 |   .0264936   .0715213     0.37   0.711    -.1136856    .1666729
                  shafiq_sq |  -.0011341   .0013104    -0.87   0.387    -.0037025    .0014343
                      rabaa |   .8124581   1.156676     0.70   0.482    -1.454584    3.079501
       sqrt_killed_at_rabaa |  -.0813186   .1819582    -0.45   0.655    -.4379501    .2753129
                    CPI_pct |  -.0425762   .0392889    -1.08   0.279     -.119581    .0344285
   public_holiday_christian |    1.14044   1.070467     1.07   0.287    -.9576369    3.238516
      public_holiday_muslim |  -14.04784   .3071965   -45.73   0.000    -14.64993   -13.44575
                     friday |   .4009717   .4294786     0.93   0.350    -.4407909    1.242734
             sqrt_co_ethnic |   .1013114   .5417058     0.19   0.852    -.9604125    1.163035
sqrt_distance_from_north_~i |  -.1588907   .0803803    -1.98   0.048    -.3164332   -.0013482
sqrt_distance_to_gov_centre |  -.3424123   .1223318    -2.80   0.005    -.5821782   -.1026464
        sqrt_police_strikes |   .2366869   .2701885     0.88   0.381    -.2928729    .7662467
                      _cons |  -7.004383   2.308032    -3.03   0.002    -11.52804   -2.480723
---------------------------------------------------------------------------------------------
Note: 307 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. 
. predict p2
(option pr assumed; predicted probabilities)
(80,725 missing values generated)

. gen colinear_pattern = 1 if p2 < .145 | p2 > .999990
(635,544 missing values generated)

. 
. vce2way mlogit ///
> $basic_dv $h1 $h2 $h3 $h4 $controls if colinear_pattern != 1, ///
> cluster(gov_ID adm2_pcode)

Multinomial logistic regression                        Number of obs = 635,541
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.3637                      Pseudo R2     =  0.2127

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.514524   .2172231    11.58   0.000     2.088775    2.940273
             pct_mursi_2012 |   .0555215   .0146134     3.80   0.000     .0268798    .0841632
            pct_shafiq_2012 |   .0403743   .0450431     0.90   0.370    -.0479085    .1286571
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012031   .0009721    -1.24   0.216    -.0031084    .0007023
                            |
                      rabaa |    4.73665    .285827    16.57   0.000     4.176439     5.29686
       sqrt_killed_at_rabaa |   .0206025   .0998134     0.21   0.836    -.1750282    .2162332
                    CPI_pct |  -.1082996   .0738607    -1.47   0.143     -.253064    .0364647
   public_holiday_christian |  -13.60768   .5186361   -26.24   0.000    -14.62419   -12.59117
      public_holiday_muslim |  -.9784159   1.082917    -0.90   0.366    -3.100894    1.144062
                     friday |   .6638283   .1740828     3.81   0.000     .3226322    1.005024
             sqrt_co_ethnic |   .4188421   .2554264     1.64   0.101    -.0817844    .9194686
sqrt_distance_from_north_~i |   .0806428   .0474643     1.70   0.089    -.0123855    .1736712
sqrt_distance_to_gov_centre |  -.1769707   .0450885    -3.92   0.000    -.2653425   -.0885988
        sqrt_police_strikes |   .3920944   .1940177     2.02   0.043     .0118268     .772362
            log10christians |   .9153438   .2463334     3.72   0.000     .4325392    1.398148
       sqrt_coptic_churches |   .4472311   .1144334     3.91   0.000     .2229458    .6715163
            agriculture_pct |  -.0044446   .0100788    -0.44   0.659    -.0241987    .0153094
             university_pct |   .0093124   .0131749     0.71   0.480      -.01651    .0351348
      ln_population_density |  -.0459155   .0753185    -0.61   0.542     -.193537     .101706
           lprevious_attack |   .7454772   .7136989     1.04   0.296     -.653347    2.144301
                      _cons |  -16.43995   1.610493   -10.21   0.000    -19.59646   -13.28344
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7210549   .4011382     1.80   0.072    -.0651615    1.507271
             pct_mursi_2012 |    .077913   .0223195     3.49   0.000     .0341676    .1216584
            pct_shafiq_2012 |   .0724251   .0462688     1.57   0.118    -.0182602    .1631103
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012805   .0009594    -1.33   0.182    -.0031609    .0005998
                            |
                      rabaa |   1.868279   .6813172     2.74   0.006     .5329222    3.203637
       sqrt_killed_at_rabaa |   .1706042    .121045     1.41   0.159    -.0666397    .4078481
                    CPI_pct |   .0091381   .0027585     3.31   0.001     .0037316    .0145446
   public_holiday_christian |  -14.03512   .5772759   -24.31   0.000    -15.16656   -12.90368
      public_holiday_muslim |   .8687777   .2720272     3.19   0.001     .3356143    1.401941
                     friday |  -.0762031   .2024274    -0.38   0.707    -.4729534    .3205473
             sqrt_co_ethnic |  -.3101776   .7340999    -0.42   0.673    -1.748987    1.128632
sqrt_distance_from_north_~i |   .1264566   .0720405     1.76   0.079    -.0147402    .2676534
sqrt_distance_to_gov_centre |  -.0079573   .0380096    -0.21   0.834    -.0824548    .0665402
        sqrt_police_strikes |   .3387746   .1276526     2.65   0.008     .0885802    .5889691
            log10christians |   1.703551   .3416679     4.99   0.000     1.033894    2.373208
       sqrt_coptic_churches |   .2627746   .0945187     2.78   0.005     .0775213    .4480279
            agriculture_pct |   .0040099   .0095406     0.42   0.674    -.0146894    .0227092
             university_pct |   .0122662    .015888     0.77   0.440    -.0188737    .0434062
      ln_population_density |   -.021228   .0814625    -0.26   0.794    -.1808915    .1384355
           lprevious_attack |   .6065455   .2154964     2.81   0.005     .1841803    1.028911
                      _cons |  -22.40002   3.378542    -6.63   0.000    -29.02184    -15.7782
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.142618   .6286887     1.82   0.069    -.0895896    2.374825
             pct_mursi_2012 |   .0328346   .0244735     1.34   0.180    -.0151326    .0808018
            pct_shafiq_2012 |   .0258793   .0712823     0.36   0.717    -.1138314    .1655901
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011198   .0013047    -0.86   0.391    -.0036769    .0014373
                            |
                      rabaa |   .8121681   1.157284     0.70   0.483    -1.456067    3.080403
       sqrt_killed_at_rabaa |  -.0809958   .1820607    -0.44   0.656    -.4378282    .2758366
                    CPI_pct |  -.0422156   .0398178    -1.06   0.289    -.1202571    .0358259
   public_holiday_christian |   1.140025   1.070666     1.06   0.287    -.9584407    3.238492
      public_holiday_muslim |  -14.36426   .3001336   -47.86   0.000    -14.95251   -13.77601
                     friday |   .4001871   .4294997     0.93   0.351    -.4416169    1.241991
             sqrt_co_ethnic |   .1009723   .5401305     0.19   0.852     -.957664    1.159609
sqrt_distance_from_north_~i |  -.1584839   .0805341    -1.97   0.049    -.3163279   -.0006399
sqrt_distance_to_gov_centre |  -.3414704   .1222949    -2.79   0.005    -.5811641   -.1017768
        sqrt_police_strikes |   .2366371   .2701173     0.88   0.381    -.2927831    .7660572
            log10christians |     .33851   .2545496     1.33   0.184     -.160398     .837418
       sqrt_coptic_churches |   .5471108    .196894     2.78   0.005     .1612057    .9330159
            agriculture_pct |  -.0210646   .0125701    -1.68   0.094    -.0457016    .0035724
             university_pct |  -.0091785    .013844    -0.66   0.507    -.0363121    .0179552
      ln_population_density |  -.1276363   .0905811    -1.41   0.159    -.3051719    .0498993
           lprevious_attack |   3.329427   .5529332     6.02   0.000     2.245698    4.413156
                      _cons |  -6.990034   2.301497    -3.04   0.002    -11.50088   -2.479184
---------------------------------------------------------------------------------------------
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 635,541
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.3637                      Pseudo R2     =  0.2127

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   12.36072   2.685034    11.58   0.000     8.075014    18.92102
             pct_mursi_2012 |   1.057092   .0154477     3.80   0.000     1.027244    1.087806
            pct_shafiq_2012 |     1.0412   .0468989     0.90   0.370      .953221      1.1373
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987977    .000971    -1.24   0.216     .9968964    1.000703
                            |
                      rabaa |   114.0514   32.59898    16.57   0.000     65.13349    199.7088
       sqrt_killed_at_rabaa |   1.020816   .1018912     0.21   0.836     .8394334    1.241392
                    CPI_pct |   .8973587   .0662796    -1.47   0.143     .7764182    1.037138
   public_holiday_christian |   1.23e-06   6.38e-07   -26.24   0.000     4.45e-07    3.40e-06
      public_holiday_muslim |   .3759061    .407075    -0.90   0.366      .045009    3.139495
                     friday |   1.942213    .338106     3.81   0.000     1.380757    2.731974
             sqrt_co_ethnic |     1.5202   .3882993     1.64   0.101     .9214706    2.507957
sqrt_distance_from_north_~i |   1.083984   .0514506     1.70   0.089     .9876908    1.189664
sqrt_distance_to_gov_centre |   .8378044   .0377754    -3.92   0.000     .7669432    .9152127
        sqrt_police_strikes |   1.480077   .2871611     2.02   0.043     1.011897    2.164874
            log10christians |   2.497634   .6152505     3.72   0.000     1.541166    4.047698
       sqrt_coptic_churches |   1.563976    .178971     3.91   0.000     1.249753    1.957203
            agriculture_pct |   .9955652   .0100341    -0.44   0.659     .9760918    1.015427
             university_pct |   1.009356   .0132982     0.71   0.480     .9836255    1.035759
      ln_population_density |   .9551226   .0719384    -0.61   0.542     .8240393    1.107058
           lprevious_attack |   2.107447   1.504082     1.04   0.296     .5203014    8.536075
                      _cons |   7.25e-08   1.17e-07   -10.21   0.000     3.09e-09    1.70e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.056602   .8249815     1.80   0.072     .9369162    4.514396
             pct_mursi_2012 |   1.081029    .024128     3.49   0.000     1.034758    1.129368
            pct_shafiq_2012 |   1.075112   .0497442     1.57   0.118     .9819055    1.177167
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987203   .0009581    -1.33   0.182     .9968441      1.0006
                            |
                      rabaa |   6.477142   4.412988     2.74   0.006     1.703904    24.62191
       sqrt_killed_at_rabaa |   1.186021    .143562     1.41   0.159     .9355322    1.503579
                    CPI_pct |    1.00918   .0027838     3.31   0.001     1.003739    1.014651
   public_holiday_christian |   8.03e-07   4.63e-07   -24.31   0.000     2.59e-07    2.49e-06
      public_holiday_muslim |   2.383995   .6485114     3.19   0.001     1.398799    4.063079
                     friday |    .926628   .1875749    -0.38   0.707     .6231591    1.377882
             sqrt_co_ethnic |   .7333167   .5383277    -0.42   0.673     .1739501    3.091424
sqrt_distance_from_north_~i |     1.1348   .0817516     1.76   0.079     .9853679    1.306894
sqrt_distance_to_gov_centre |   .9920742   .0377084    -0.21   0.834      .920853    1.068804
        sqrt_police_strikes |   1.403227   .1791255     2.65   0.008     1.092622     1.80213
            log10christians |   5.493421   1.876926     4.99   0.000     2.811996    10.73176
       sqrt_coptic_churches |   1.300534   .1229248     2.78   0.005     1.080605    1.565222
            agriculture_pct |   1.004018    .009579     0.42   0.674      .985418    1.022969
             university_pct |   1.012342   .0160841     0.77   0.440     .9813033    1.044362
      ln_population_density |   .9789957   .0797514    -0.26   0.794     .8345259    1.148476
           lprevious_attack |   1.834085   .3952386     2.81   0.005     1.202233    2.798016
                      _cons |   1.87e-10   6.32e-10    -6.63   0.000     2.49e-13    1.40e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.134964   1.970916     1.82   0.069     .9143064    10.74913
             pct_mursi_2012 |    1.03338   .0252904     1.34   0.180     .9849813    1.084156
            pct_shafiq_2012 |   1.026217   .0731511     0.36   0.717     .8924084    1.180089
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988808   .0013032    -0.86   0.391     .9963298    1.001438
                            |
                      rabaa |   2.252787   2.607115     0.70   0.483     .2331514    21.76718
       sqrt_killed_at_rabaa |   .9221975   .1678959    -0.44   0.656     .6454366    1.317633
                    CPI_pct |    .958663   .0381719    -1.06   0.289     .8866924    1.036475
   public_holiday_christian |   3.126848   3.347808     1.06   0.287     .3834904    25.49523
      public_holiday_muslim |   5.78e-07   1.73e-07   -47.86   0.000     3.21e-07    1.04e-06
                     friday |   1.492104   .6408582     0.93   0.351     .6429959    3.462501
             sqrt_co_ethnic |   1.106246   .5975172     0.19   0.852     .3837884    3.188685
sqrt_distance_from_north_~i |   .8534367   .0687308    -1.97   0.049     .7288204    .9993603
sqrt_distance_to_gov_centre |   .7107245    .086918    -2.79   0.005     .5592469    .9032312
        sqrt_police_strikes |   1.266981   .3422335     0.88   0.381      .746184    2.151268
            log10christians |   1.402856   .3570963     1.33   0.184     .8518047    2.310394
       sqrt_coptic_churches |   1.728252   .3402825     2.78   0.005     1.174927    2.542164
            agriculture_pct |   .9791557   .0123081    -1.68   0.094      .955327    1.003579
             university_pct |   .9908635   .0137175    -0.66   0.507     .9643392    1.018117
      ln_population_density |   .8801734    .079727    -1.41   0.159     .7369967    1.051165
           lprevious_attack |   27.92234   15.43919     6.02   0.000     9.447005    82.52953
                      _cons |    .000921   .0021197    -3.04   0.002     .0000101    .0838116
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.

.         
. ********************************************************************************
. *Appendix Table B2 - How varying the lag of recent anti-Christian events predicts the incide
> nce of burnings, beatings, and bombings
. ********************************************************************************
. 
. *2 days
. global controls_alt_2 log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density l2previous_attack 

. 
. *3 days
. global controls_alt_3 log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density l3previous_attack 

. 
. *4 days
. global controls_alt_4 log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density l4previous_attack         

.         
. *5 days
. global controls_alt_5 log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density l5previous_attack 

. 
. *6 days
. global controls_alt_6 log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density l6previous_attack 

. 
. *7 days
. global controls_alt_7 log10christians sqrt_coptic_churches ///
> agriculture_pct university_pct ///
> ln_population_density l7previous_attack         

. 
. 
. vce2way mlogit $basic_dv $h1 $h2 $h3 $h4 $controls, cluster(gov_ID adm2_pcode) 

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.6687                      Pseudo R2     =  0.2169

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.519121   .2149879    11.72   0.000     2.097752    2.940489
             pct_mursi_2012 |   .0555903   .0145586     3.82   0.000      .027056    .0841247
            pct_shafiq_2012 |   .0405967   .0450008     0.90   0.367    -.0476032    .1287966
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012095   .0009719    -1.24   0.213    -.0031143    .0006953
                            |
                      rabaa |   4.741909   .2837735    16.71   0.000     4.185723    5.298095
       sqrt_killed_at_rabaa |   .0208104   .0999446     0.21   0.835    -.1750774    .2166983
                    CPI_pct |  -.1082522   .0739391    -1.46   0.143    -.2531702    .0366657
   public_holiday_christian |  -13.36599   .5175606   -25.82   0.000    -14.38039   -12.35159
      public_holiday_muslim |  -.9818595   1.082775    -0.91   0.365    -3.104059     1.14034
                     friday |    .663455   .1740658     3.81   0.000     .3222923    1.004618
             sqrt_co_ethnic |   .4194598   .2551401     1.64   0.100    -.0806056    .9195253
sqrt_distance_from_north_~i |   .0803634   .0475203     1.69   0.091    -.0127746    .1735014
sqrt_distance_to_gov_centre |  -.1774618   .0451491    -3.93   0.000    -.2659524   -.0889712
        sqrt_police_strikes |   .3949902   .1930199     2.05   0.041     .0166783    .7733022
            log10christians |   .9176519   .2463427     3.73   0.000     .4348291    1.400475
       sqrt_coptic_churches |   .4487481   .1142824     3.93   0.000     .2247587    .6727374
            agriculture_pct |  -.0044175   .0100787    -0.44   0.661    -.0241715    .0153365
             university_pct |   .0093557   .0131778     0.71   0.478    -.0164723    .0351837
      ln_population_density |  -.0461034   .0753024    -0.61   0.540    -.1936934    .1014866
           lprevious_attack |   .7405662   .7153899     1.04   0.301    -.6615721    2.142705
                      _cons |  -16.45467   1.609804   -10.22   0.000    -19.60983   -13.29951
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7186564   .4009647     1.79   0.073      -.06722    1.504533
             pct_mursi_2012 |   .0780845   .0221851     3.52   0.000     .0346025    .1215664
            pct_shafiq_2012 |   .0731162   .0459834     1.59   0.112    -.0170096    .1632421
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012938   .0009542    -1.36   0.175     -.003164    .0005764
                            |
                      rabaa |   1.861885   .6837292     2.72   0.006     .5218008     3.20197
       sqrt_killed_at_rabaa |   .1706384   .1209727     1.41   0.158    -.0664636    .4077405
                    CPI_pct |   .0091272   .0027603     3.31   0.001     .0037171    .0145372
   public_holiday_christian |  -13.74158   .5740337   -23.94   0.000    -14.86667    -12.6165
      public_holiday_muslim |    .868466   .2721304     3.19   0.001     .3351002    1.401832
                     friday |   -.075929   .2023464    -0.38   0.707    -.4725208    .3206627
             sqrt_co_ethnic |  -.3095146   .7345417    -0.42   0.673     -1.74919    1.130161
sqrt_distance_from_north_~i |   .1265987   .0719421     1.76   0.078    -.0144053    .2676028
sqrt_distance_to_gov_centre |  -.0080658   .0380678    -0.21   0.832    -.0826773    .0665458
        sqrt_police_strikes |   .3386683   .1278929     2.65   0.008     .0880028    .5893337
            log10christians |   1.706878   .3401686     5.02   0.000      1.04016    2.373596
       sqrt_coptic_churches |   .2620958    .094289     2.78   0.005     .0772929    .4468988
            agriculture_pct |   .0039691   .0095226     0.42   0.677    -.0146948    .0226331
             university_pct |   .0123235   .0158774     0.78   0.438    -.0187957    .0434427
      ln_population_density |   -.021166   .0814184    -0.26   0.795    -.1807431    .1384112
           lprevious_attack |   .6080344   .2152063     2.83   0.005     .1862378    1.029831
                      _cons |  -22.42882   3.365415    -6.66   0.000    -29.02491   -15.83273
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.143212   .6285906     1.82   0.069    -.0888034    2.375227
             pct_mursi_2012 |   .0330277   .0244428     1.35   0.177    -.0148793    .0809347
            pct_shafiq_2012 |   .0264936   .0715213     0.37   0.711    -.1136856    .1666729
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011341   .0013104    -0.87   0.387    -.0037025    .0014343
                            |
                      rabaa |   .8124581   1.156676     0.70   0.482    -1.454584    3.079501
       sqrt_killed_at_rabaa |  -.0813186   .1819582    -0.45   0.655    -.4379501    .2753129
                    CPI_pct |  -.0425762   .0392889    -1.08   0.279     -.119581    .0344285
   public_holiday_christian |    1.14044   1.070467     1.07   0.287    -.9576369    3.238516
      public_holiday_muslim |  -14.04784   .3071965   -45.73   0.000    -14.64993   -13.44575
                     friday |   .4009717   .4294786     0.93   0.350    -.4407909    1.242734
             sqrt_co_ethnic |   .1013114   .5417058     0.19   0.852    -.9604125    1.163035
sqrt_distance_from_north_~i |  -.1588907   .0803803    -1.98   0.048    -.3164332   -.0013482
sqrt_distance_to_gov_centre |  -.3424123   .1223318    -2.80   0.005    -.5821782   -.1026464
        sqrt_police_strikes |   .2366869   .2701885     0.88   0.381    -.2928729    .7662467
            log10christians |   .3419466   .2543018     1.34   0.179    -.1564759     .840369
       sqrt_coptic_churches |   .5477079   .1970761     2.78   0.005     .1614459    .9339698
            agriculture_pct |  -.0211486   .0125674    -1.68   0.092    -.0457803    .0034832
             university_pct |  -.0091486   .0138627    -0.66   0.509     -.036319    .0180218
      ln_population_density |   -.127764   .0907434    -1.41   0.159    -.3056179    .0500898
           lprevious_attack |   3.327682   .5522121     6.03   0.000     2.245366    4.409998
                      _cons |  -7.004383   2.308032    -3.03   0.002    -11.52804   -2.480723
---------------------------------------------------------------------------------------------
Note: 307 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.6687                      Pseudo R2     =  0.2169

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   12.41767   2.669649    11.72   0.000     8.147835     18.9251
             pct_mursi_2012 |   1.057165   .0153908     3.82   0.000     1.027425    1.087764
            pct_shafiq_2012 |   1.041432   .0468652     0.90   0.367     .9535121    1.137459
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987913   .0009707    -1.24   0.213     .9968906    1.000696
                            |
                      rabaa |   114.6529   32.53544    16.71   0.000     65.74104    199.9555
       sqrt_killed_at_rabaa |   1.021028   .1020463     0.21   0.835      .839392    1.241969
                    CPI_pct |   .8974012    .066353    -1.46   0.143     .7763358    1.037346
   public_holiday_christian |   1.57e-06   8.11e-07   -25.82   0.000     5.68e-07    4.32e-06
      public_holiday_muslim |   .3746139   .4056225    -0.91   0.365     .0448667    3.127832
                     friday |   1.941489   .3379468     3.81   0.000     1.380288    2.730863
             sqrt_co_ethnic |    1.52114   .3881037     1.64   0.100     .9225575    2.508099
sqrt_distance_from_north_~i |   1.083681   .0514968     1.69   0.091     .9873066    1.189462
sqrt_distance_to_gov_centre |    .837393   .0378075    -3.93   0.000     .7664756    .9148719
        sqrt_police_strikes |    1.48437   .2865128     2.05   0.041     1.016818     2.16691
            log10christians |   2.503405   .6166956     3.73   0.000     1.544699    4.057125
       sqrt_coptic_churches |    1.56635   .1790062     3.93   0.000     1.252021    1.959594
            agriculture_pct |   .9955922   .0100343    -0.44   0.661     .9761183    1.015455
             university_pct |     1.0094   .0133017     0.71   0.478     .9836626     1.03581
      ln_population_density |   .9549432   .0719095    -0.61   0.540     .8239105    1.106815
           lprevious_attack |   2.097123    1.50026     1.04   0.301     .5160394    8.522456
                      _cons |   7.14e-08   1.15e-07   -10.22   0.000     3.04e-09    1.68e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.051675   .8226493     1.79   0.073     .9349895     4.50205
             pct_mursi_2012 |   1.081214   .0239868     3.52   0.000     1.035208    1.129264
            pct_shafiq_2012 |   1.075856   .0494715     1.59   0.112     .9831342    1.177322
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |    .998707    .000953    -1.36   0.175      .996841    1.000577
                            |
                      rabaa |   6.435859   4.400385     2.72   0.006     1.685059     24.5809
       sqrt_killed_at_rabaa |   1.186062   .1434811     1.41   0.158     .9356969    1.503417
                    CPI_pct |   1.009169   .0027856     3.31   0.001     1.003724    1.014643
   public_holiday_christian |   1.08e-06   6.18e-07   -23.94   0.000     3.50e-07    3.32e-06
      public_holiday_muslim |   2.383252   .6485554     3.19   0.001      1.39808    4.062635
                     friday |    .926882   .1875513    -0.38   0.707     .6234288    1.378041
             sqrt_co_ethnic |    .733803   .5390089    -0.42   0.673     .1739148    3.096154
sqrt_distance_from_north_~i |   1.134962   .0816516     1.76   0.078      .985698    1.306828
sqrt_distance_to_gov_centre |   .9919667    .037762    -0.21   0.832     .9206482     1.06881
        sqrt_police_strikes |   1.403078   .1794437     2.65   0.008     1.091991    1.802787
            log10christians |   5.511727   1.874916     5.02   0.000     2.829669    10.73593
       sqrt_coptic_churches |   1.299651   .1225427     2.78   0.005     1.080358    1.563456
            agriculture_pct |   1.003977   .0095605     0.42   0.677     .9854126    1.022891
             university_pct |     1.0124   .0160743     0.78   0.438     .9813799      1.0444
      ln_population_density |   .9790564   .0797132    -0.26   0.795     .8346497    1.148448
           lprevious_attack |   1.836817   .3952947     2.83   0.005     1.204709    2.800593
                      _cons |   1.82e-10   6.11e-10    -6.66   0.000     2.48e-13    1.33e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.136826    1.97178     1.82   0.069     .9150254    10.75345
             pct_mursi_2012 |   1.033579   .0252636     1.35   0.177     .9852309      1.0843
            pct_shafiq_2012 |   1.026848   .0734415     0.37   0.711     .8925385    1.181368
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988665    .001309    -0.87   0.387     .9963043    1.001435
                            |
                      rabaa |    2.25344   2.606499     0.70   0.482     .2334974    21.74754
       sqrt_killed_at_rabaa |   .9218999   .1677472    -0.45   0.655      .645358    1.316943
                    CPI_pct |   .9583174   .0376512    -1.08   0.279     .8872921    1.035028
   public_holiday_christian |   3.128144   3.348575     1.07   0.287     .3837988    25.49587
      public_holiday_muslim |   7.93e-07   2.44e-07   -45.73   0.000     4.34e-07    1.45e-06
                     friday |   1.493275   .6413297     0.93   0.350     .6435272    3.465075
             sqrt_co_ethnic |   1.106621   .5994631     0.19   0.852      .382735     3.19963
sqrt_distance_from_north_~i |   .8530896   .0685716    -1.98   0.048     .7287437    .9986527
sqrt_distance_to_gov_centre |   .7100554   .0868623    -2.80   0.005     .5586801     .902446
        sqrt_police_strikes |   1.267044   .3423408     0.88   0.381      .746117    2.151675
            log10christians |   1.407685   .3579769     1.34   0.179     .8551522    2.317222
       sqrt_coptic_churches |   1.729285   .3408006     2.78   0.005     1.175209    2.544591
            agriculture_pct |   .9790735   .0123044    -1.68   0.092     .9552518    1.003489
             university_pct |   .9908931   .0137365    -0.66   0.509     .9643326    1.018185
      ln_population_density |    .880061   .0798598    -1.41   0.159      .736668    1.051366
           lprevious_attack |   27.87365   15.39217     6.03   0.000     9.443871    82.26926
                      _cons |   .0009079   .0020954    -3.03   0.002     9.85e-06    .0836827
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 307 observations completely determined. Standard errors questionable.

. 
. vce2way mlogit $basic_dv $h1 $h2 $h3 $h4 $controls_alt_2, cluster(gov_ID adm2_pcode) 

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2523.8117                      Pseudo R2     =  0.2163

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.490936   .2023088    12.31   0.000     2.094418    2.887454
             pct_mursi_2012 |   .0559112    .013876     4.03   0.000     .0287148    .0831076
            pct_shafiq_2012 |   .0412392   .0447306     0.92   0.357    -.0464312    .1289096
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012188   .0009704    -1.26   0.209    -.0031208    .0006832
                            |
                      rabaa |   4.764812   .2917485    16.33   0.000     4.192996    5.336629
       sqrt_killed_at_rabaa |   .0223039     .10067     0.22   0.825    -.1750057    .2196136
                    CPI_pct |   -.108505    .073683    -1.47   0.141    -.2529211    .0359111
   public_holiday_christian |  -13.36872    .512852   -26.07   0.000    -14.37389   -12.36355
      public_holiday_muslim |  -.9679524   1.084278    -0.89   0.372    -3.093098    1.157193
                     friday |   .6279606   .1818103     3.45   0.001      .271619    .9843022
             sqrt_co_ethnic |   .4187933    .256266     1.63   0.102    -.0834788    .9210654
sqrt_distance_from_north_~i |   .0807538   .0466741     1.73   0.084    -.0107257    .1722333
sqrt_distance_to_gov_centre |  -.1774541   .0451517    -3.93   0.000    -.2659498   -.0889583
        sqrt_police_strikes |    .395596   .1931635     2.05   0.041     .0170026    .7741895
            log10christians |    .920985   .2501567     3.68   0.000     .4306868    1.411283
       sqrt_coptic_churches |   .4491326   .1137714     3.95   0.000     .2261448    .6721204
            agriculture_pct |  -.0043887   .0100707    -0.44   0.663    -.0241269    .0153495
             university_pct |   .0095139   .0130369     0.73   0.466     -.016038    .0350657
      ln_population_density |  -.0459719   .0752892    -0.61   0.541     -.193536    .1015922
          l2previous_attack |   .4029902   .4144594     0.97   0.331    -.4093352    1.215316
                      _cons |  -16.49084   1.578681   -10.45   0.000      -19.585   -13.39669
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7009342   .4053131     1.73   0.084    -.0934648    1.495333
             pct_mursi_2012 |   .0776005   .0220276     3.52   0.000     .0344272    .1207738
            pct_shafiq_2012 |   .0732205   .0460604     1.59   0.112    -.0170561    .1634972
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012952   .0009528    -1.36   0.174    -.0031626    .0005721
                            |
                      rabaa |   1.724642   .7444769     2.32   0.021     .2654941     3.18379
       sqrt_killed_at_rabaa |   .1679774   .1208087     1.39   0.164    -.0688033    .4047581
                    CPI_pct |   .0089846   .0027264     3.30   0.001      .003641    .0143283
   public_holiday_christian |  -13.77442   .5736699   -24.01   0.000     -14.8988   -12.65005
      public_holiday_muslim |   .8696633   .2739782     3.17   0.002     .3326759    1.406651
                     friday |  -.0965973   .2046944    -0.47   0.637    -.4977909    .3045963
             sqrt_co_ethnic |  -.3104925   .7360011    -0.42   0.673    -1.753028    1.132043
sqrt_distance_from_north_~i |   .1259617   .0714298     1.76   0.078    -.0140381    .2659615
sqrt_distance_to_gov_centre |  -.0074024   .0380594    -0.19   0.846    -.0819974    .0671926
        sqrt_police_strikes |   .3315303   .1251549     2.65   0.008     .0862312    .5768293
            log10christians |   1.700276   .3389725     5.02   0.000     1.035902     2.36465
       sqrt_coptic_churches |    .258901   .0947171     2.73   0.006     .0732588    .4445431
            agriculture_pct |    .003849   .0095304     0.40   0.686    -.0148303    .0225283
             university_pct |   .0118859   .0157236     0.76   0.450    -.0189317    .0427035
      ln_population_density |  -.0205339   .0811791    -0.25   0.800    -.1796421    .1385742
          l2previous_attack |   1.386066   .2249066     6.16   0.000     .9452575    1.826875
                      _cons |  -22.35994   3.340238    -6.69   0.000    -28.90668   -15.81319
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.137415    .628715     1.81   0.070    -.0948434    2.369674
             pct_mursi_2012 |   .0333874   .0245083     1.36   0.173     -.014648    .0814227
            pct_shafiq_2012 |   .0278597   .0718506     0.39   0.698    -.1129649    .1686843
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011645   .0013238    -0.88   0.379    -.0037592    .0014302
                            |
                      rabaa |   .9261809   .8918892     1.04   0.299    -.8218897    2.674252
       sqrt_killed_at_rabaa |  -.0849869   .1845194    -0.46   0.645    -.4466383    .2766645
                    CPI_pct |  -.0424813   .0397579    -1.07   0.285    -.1204053    .0354427
   public_holiday_christian |   1.163655   1.066814     1.09   0.275    -.9272625    3.254572
      public_holiday_muslim |  -14.19959   .3097968   -45.84   0.000    -14.80678    -13.5924
                     friday |   .3712351   .4232509     0.88   0.380    -.4583215    1.200792
             sqrt_co_ethnic |   .0932823   .5447312     0.17   0.864    -.9743712    1.160936
sqrt_distance_from_north_~i |  -.1625063    .083606    -1.94   0.052     -.326371    .0013584
sqrt_distance_to_gov_centre |  -.3460752   .1255445    -2.76   0.006    -.5921379   -.1000124
        sqrt_police_strikes |   .2479588   .2735582     0.91   0.365    -.2882054    .7841229
            log10christians |   .3508804     .25571     1.37   0.170     -.150302    .8520627
       sqrt_coptic_churches |   .5620045    .194888     2.88   0.004      .180031    .9439781
            agriculture_pct |  -.0207136   .0128346    -1.61   0.107    -.0458689    .0044417
             university_pct |  -.0090348    .013956    -0.65   0.517    -.0363881    .0183185
      ln_population_density |  -.1289027   .0913273    -1.41   0.158    -.3079009    .0500955
          l2previous_attack |   2.811983   .4221358     6.66   0.000     1.984612    3.639354
                      _cons |  -7.003443   2.332128    -3.00   0.003    -11.57433   -2.432556
---------------------------------------------------------------------------------------------
Note: 315 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2523.8117                      Pseudo R2     =  0.2163

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   12.07257   2.442387    12.31   0.000     8.120712    17.94755
             pct_mursi_2012 |   1.057504   .0146739     4.03   0.000     1.029131    1.086659
            pct_shafiq_2012 |   1.042101   .0466138     0.92   0.357     .9546302    1.137587
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |    .998782   .0009693    -1.26   0.209     .9968841    1.000683
                            |
                      rabaa |   117.3091   34.22475    16.33   0.000     66.22089     207.811
       sqrt_killed_at_rabaa |   1.022555   .1029406     0.22   0.825     .8394522    1.245595
                    CPI_pct |   .8971744   .0661065    -1.47   0.141     .7765291    1.036564
   public_holiday_christian |   1.56e-06   8.02e-07   -26.07   0.000     5.72e-07    4.27e-06
      public_holiday_muslim |     .37986   .4118738    -0.89   0.372     .0453612    3.180991
                     friday |   1.873785   .3406734     3.45   0.001     1.312087    2.675944
             sqrt_co_ethnic |   1.520126   .3895567     1.63   0.102     .9199105    2.511965
sqrt_distance_from_north_~i |   1.084104   .0505996     1.73   0.084     .9893316    1.187955
sqrt_distance_to_gov_centre |   .8373995     .03781    -3.93   0.000     .7664776    .9148837
        sqrt_police_strikes |   1.485269   .2868998     2.05   0.041     1.017148    2.168834
            log10christians |   2.511763   .6283345     3.68   0.000     1.538314    4.101215
       sqrt_coptic_churches |   1.566952   .1782743     3.95   0.000     1.253757    1.958385
            agriculture_pct |   .9956209   .0100266    -0.44   0.663     .9761618    1.015468
             university_pct |   1.009559   .0131615     0.73   0.466     .9840899    1.035688
      ln_population_density |   .9550688   .0719063    -0.61   0.541     .8240402    1.106932
          l2previous_attack |   1.496292   .6201524     0.97   0.331     .6640916    3.371358
                      _cons |   6.89e-08   1.09e-07   -10.45   0.000     3.12e-09    1.52e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.015635   .8169631     1.73   0.084     .9107701    4.460822
             pct_mursi_2012 |   1.080691    .023805     3.52   0.000     1.035027     1.12837
            pct_shafiq_2012 |   1.075968   .0495595     1.59   0.112     .9830885    1.177622
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987056   .0009515    -1.36   0.174     .9968424    1.000572
                            |
                      rabaa |   5.610512   4.176897     2.32   0.021     1.304075    24.13806
       sqrt_killed_at_rabaa |    1.18291   .1429058     1.39   0.164     .9335103     1.49894
                    CPI_pct |   1.009025    .002751     3.30   0.001     1.003648    1.014431
   public_holiday_christian |   1.04e-06   5.98e-07   -24.01   0.000     3.38e-07    3.21e-06
      public_holiday_muslim |   2.386107   .6537414     3.17   0.002     1.394695     4.08226
                     friday |   .9079215   .1858464    -0.47   0.637      .607872    1.356077
             sqrt_co_ethnic |   .7330858    .539552    -0.42   0.673     .1732485    3.101988
sqrt_distance_from_north_~i |   1.134239   .0810184     1.76   0.078       .98606    1.304685
sqrt_distance_to_gov_centre |   .9926249   .0377787    -0.19   0.846     .9212743    1.069501
        sqrt_police_strikes |   1.393098   .1743531     2.65   0.008     1.090058    1.780384
            log10christians |   5.475458    1.85603     5.02   0.000     2.817647    10.64031
       sqrt_coptic_churches |   1.295505   .1227066     2.73   0.006     1.076009    1.559777
            agriculture_pct |   1.003856   .0095672     0.40   0.686     .9852791    1.022784
             university_pct |   1.011957   .0159116     0.76   0.450     .9812464    1.043628
      ln_population_density |   .9796755   .0795292    -0.25   0.800     .8355692    1.148635
          l2previous_attack |   3.999088    .899421     6.16   0.000     2.573476    6.214436
                      _cons |   1.95e-10   6.50e-10    -6.69   0.000     2.79e-13    1.36e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.118698   1.960772     1.81   0.070     .9095154    10.69391
             pct_mursi_2012 |   1.033951   .0253404     1.36   0.173     .9854587    1.084829
            pct_shafiq_2012 |   1.028251   .0738805     0.39   0.698      .893182    1.183746
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988362   .0013223    -0.88   0.379     .9962479    1.001431
                            |
                      rabaa |   2.524848   2.251885     1.04   0.299     .4396002    14.50149
       sqrt_killed_at_rabaa |   .9185243   .1694856    -0.46   0.645     .6397753    1.318724
                    CPI_pct |   .9584084   .0381043    -1.07   0.285      .886561    1.036078
   public_holiday_christian |   3.201612   3.415525     1.09   0.275     .3956353    25.90852
      public_holiday_muslim |   6.81e-07   2.11e-07   -45.84   0.000     3.71e-07    1.25e-06
                     friday |   1.449524   .6135123     0.88   0.380     .6323442    3.322746
             sqrt_co_ethnic |   1.097772   .5979904     0.17   0.864     .3774296     3.19292
sqrt_distance_from_north_~i |   .8500107    .071066    -1.94   0.052     .7215374    1.001359
sqrt_distance_to_gov_centre |   .7074593   .0888176    -2.76   0.006     .5531434    .9048262
        sqrt_police_strikes |   1.281407   .3505394     0.91   0.365     .7496076    2.190485
            log10christians |   1.420317   .3631893     1.37   0.170     .8604481    2.344478
       sqrt_coptic_churches |   1.754185   .3418697     2.88   0.004     1.197254    2.570185
            agriculture_pct |   .9794994   .0125714    -1.61   0.107     .9551672    1.004452
             university_pct |   .9910059   .0138305    -0.65   0.517      .964266    1.018487
      ln_population_density |   .8790595   .0802821    -1.41   0.158     .7349881    1.051372
          l2previous_attack |   16.64289   7.025561     6.66   0.000     7.276226    38.06725
                      _cons |   .0009087   .0021193    -3.00   0.003     9.40e-06    .0878121
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 315 observations completely determined. Standard errors questionable.

. 
. vce2way mlogit $basic_dv $h1 $h2 $h3 $h4 $controls_alt_3, cluster(gov_ID adm2_pcode)    

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2528.3434                      Pseudo R2     =  0.2149

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.493431   .2035698    12.25   0.000     2.094442    2.892421
             pct_mursi_2012 |   .0559359   .0136381     4.10   0.000     .0292057    .0826661
            pct_shafiq_2012 |    .041228   .0446659     0.92   0.356    -.0463155    .1287716
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012179   .0009702    -1.26   0.209    -.0031195    .0006838
                            |
                      rabaa |   4.772274   .2901663    16.45   0.000     4.203558    5.340989
       sqrt_killed_at_rabaa |    .022605   .1004929     0.22   0.822    -.1743576    .2195675
                    CPI_pct |  -.1084779   .0738232    -1.47   0.142    -.2531688    .0362129
   public_holiday_christian |  -13.38658   .5177828   -25.85   0.000    -14.40142   -12.37175
      public_holiday_muslim |  -.9736741    1.08811    -0.89   0.371     -3.10633    1.158981
                     friday |   .6660123   .1806291     3.69   0.000     .3119858    1.020039
             sqrt_co_ethnic |   .4200512   .2562689     1.64   0.101    -.0822265    .9223289
sqrt_distance_from_north_~i |   .0808249   .0466128     1.73   0.083    -.0105344    .1721843
sqrt_distance_to_gov_centre |  -.1775068   .0451609    -3.93   0.000    -.2660206    -.088993
        sqrt_police_strikes |    .394816   .1941153     2.03   0.042      .014357    .7752751
            log10christians |   .9219762   .2488541     3.70   0.000     .4342311    1.409721
       sqrt_coptic_churches |   .4487317   .1138853     3.94   0.000     .2255205    .6719428
            agriculture_pct |  -.0043712   .0100337    -0.44   0.663    -.0240368    .0152944
             university_pct |   .0095575   .0130588     0.73   0.464    -.0160373    .0351523
      ln_population_density |  -.0458786   .0753929    -0.61   0.543     -.193646    .1018888
          l3previous_attack |   .4638217   .4708311     0.99   0.325    -.4589903    1.386634
                      _cons |  -16.50765    1.56497   -10.55   0.000    -19.57493   -13.44036
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .6991706   .4053512     1.72   0.085    -.0953032    1.493644
             pct_mursi_2012 |   .0778294   .0220998     3.52   0.000     .0345146    .1211442
            pct_shafiq_2012 |   .0731871   .0460063     1.59   0.112    -.0169835    .1633577
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012947   .0009532    -1.36   0.174     -.003163    .0005736
                            |
                      rabaa |    1.78831   .7118854     2.51   0.012     .3930399    3.183579
       sqrt_killed_at_rabaa |    .169591   .1208342     1.40   0.160    -.0672396    .4064215
                    CPI_pct |   .0090509    .002744     3.30   0.001     .0036728     .014429
   public_holiday_christian |  -13.75914   .5974304   -23.03   0.000    -14.93008   -12.58819
      public_holiday_muslim |   .8776463   .2764703     3.17   0.002     .3357745    1.419518
                     friday |  -.0700408   .2037437    -0.34   0.731    -.4693711    .3292894
             sqrt_co_ethnic |  -.3096627   .7351694    -0.42   0.674    -1.750568    1.131243
sqrt_distance_from_north_~i |   .1262669   .0717167     1.76   0.078    -.0142953     .266829
sqrt_distance_to_gov_centre |  -.0076216   .0380974    -0.20   0.841     -.082291    .0670479
        sqrt_police_strikes |   .3351912   .1264813     2.65   0.008     .0872925      .58309
            log10christians |    1.70433   .3397879     5.02   0.000     1.038358    2.370302
       sqrt_coptic_churches |   .2601714    .094649     2.75   0.006     .0746627    .4456801
            agriculture_pct |    .003946   .0095262     0.41   0.679    -.0147251     .022617
             university_pct |   .0121163   .0158075     0.77   0.443    -.0188658    .0430985
      ln_population_density |  -.0208042   .0813673    -0.26   0.798    -.1802811    .1386728
          l3previous_attack |    1.06501   .2680777     3.97   0.000     .5395874    1.590433
                      _cons |  -22.40152   3.355466    -6.68   0.000    -28.97812   -15.82493
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.123912    .628293     1.79   0.074    -.1075198    2.355344
             pct_mursi_2012 |   .0338503   .0246906     1.37   0.170    -.0145425     .082243
            pct_shafiq_2012 |   .0293211   .0715167     0.41   0.682     -.110849    .1694912
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012052    .001316    -0.92   0.360    -.0037844    .0013741
                            |
                      rabaa |   1.442797   1.001888     1.44   0.150    -.5208679    3.406462
       sqrt_killed_at_rabaa |  -.0916887   .1876474    -0.49   0.625    -.4594708    .2760934
                    CPI_pct |  -.0424989   .0411071    -1.03   0.301    -.1230673    .0380695
   public_holiday_christian |   1.152938    1.06739     1.08   0.280    -.9391077    3.244984
      public_holiday_muslim |  -14.20512   .3114221   -45.61   0.000    -14.81549   -13.59474
                     friday |   .3971505    .425025     0.93   0.350    -.4358832    1.230184
             sqrt_co_ethnic |   .0904131   .5495543     0.16   0.869    -.9866935     1.16752
sqrt_distance_from_north_~i |  -.1688591   .0848544    -1.99   0.047    -.3351707   -.0025474
sqrt_distance_to_gov_centre |  -.3518185   .1261023    -2.79   0.005    -.5989744   -.1046626
        sqrt_police_strikes |    .269762   .2753114     0.98   0.327    -.2698385    .8093625
            log10christians |   .3677649   .2601673     1.41   0.157    -.1421537    .8776835
       sqrt_coptic_churches |   .5889513   .1947545     3.02   0.002     .2072396     .970663
            agriculture_pct |  -.0198996   .0127353    -1.56   0.118    -.0448604    .0050612
             university_pct |  -.0087156   .0142822    -0.61   0.542    -.0367082    .0192769
      ln_population_density |   -.130735    .092158    -1.42   0.156    -.3113612    .0498913
          l3previous_attack |  -15.72388    .624885   -25.16   0.000    -16.94863   -14.49912
                      _cons |  -7.015342   2.379286    -2.95   0.003    -11.67866   -2.352028
---------------------------------------------------------------------------------------------
Note: 318 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2528.3434                      Pseudo R2     =  0.2149

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   12.10273   2.463751    12.25   0.000     8.120907    18.03692
             pct_mursi_2012 |    1.05753   .0144227     4.10   0.000     1.029636    1.086179
            pct_shafiq_2012 |    1.04209   .0465459     0.92   0.356     .9547407     1.13743
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987829   .0009691    -1.26   0.209     .9968854    1.000684
                            |
                      rabaa |   118.1877   34.29407    16.45   0.000     66.92404     208.719
       sqrt_killed_at_rabaa |   1.022862   .1027904     0.22   0.822     .8399965    1.245538
                    CPI_pct |   .8971987   .0662341    -1.47   0.142     .7763368    1.036877
   public_holiday_christian |   1.54e-06   7.95e-07   -25.85   0.000     5.57e-07    4.24e-06
      public_holiday_muslim |   .3776928   .4109711    -0.89   0.371      .044765    3.186686
                     friday |    1.94646   .3515873     3.69   0.000     1.366135    2.773302
             sqrt_co_ethnic |   1.522039   .3900513     1.64   0.101     .9210633    2.515141
sqrt_distance_from_north_~i |   1.084181   .0505367     1.73   0.083     .9895209    1.187897
sqrt_distance_to_gov_centre |   .8373553   .0378157    -3.93   0.000     .7664233     .914852
        sqrt_police_strikes |   1.484111   .2880887     2.03   0.042     1.014461    2.171189
            log10christians |   2.514254   .6256824     3.70   0.000     1.543776    4.094814
       sqrt_coptic_churches |   1.566324   .1783814     3.94   0.000     1.252975    1.958038
            agriculture_pct |   .9956383   .0099899    -0.44   0.663     .9762497    1.015412
             university_pct |   1.009603   .0131842     0.73   0.464     .9840906    1.035777
      ln_population_density |   .9551579   .0720121    -0.61   0.543     .8239496     1.10726
          l3previous_attack |   1.590139    .748687     0.99   0.325     .6319214    4.001357
                      _cons |   6.77e-08   1.06e-07   -10.55   0.000     3.15e-09    1.46e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.012083   .8156003     1.72   0.085     .9090972    4.453295
             pct_mursi_2012 |   1.080938   .0238885     3.52   0.000     1.035117    1.128788
            pct_shafiq_2012 |   1.075932   .0494996     1.59   0.112     .9831599    1.177458
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987061    .000952    -1.36   0.174      .996842    1.000574
                            |
                      rabaa |   5.979336   4.256602     2.51   0.012     1.481477    24.13298
       sqrt_killed_at_rabaa |    1.18482   .1431667     1.40   0.160     .9349711    1.501435
                    CPI_pct |   1.009092   .0027689     3.30   0.001      1.00368    1.014534
   public_holiday_christian |   1.06e-06   6.32e-07   -23.03   0.000     3.28e-07    3.41e-06
      public_holiday_muslim |   2.405232   .6649751     3.17   0.002     1.399023    4.135127
                     friday |   .9323557   .1899616    -0.34   0.731     .6253954     1.38998
             sqrt_co_ethnic |   .7336944   .5393896    -0.42   0.674     .1736752    3.099506
sqrt_distance_from_north_~i |   1.134585   .0813687     1.76   0.078     .9858064    1.305817
sqrt_distance_to_gov_centre |   .9924074   .0378081    -0.20   0.841     .9210039    1.069347
        sqrt_police_strikes |   1.398208   .1768471     2.65   0.008     1.091216    1.791566
            log10christians |     5.4977   1.868052     5.02   0.000     2.824574    10.70062
       sqrt_coptic_churches |   1.297152   .1227742     2.75   0.006     1.077521    1.561552
            agriculture_pct |   1.003954   .0095639     0.41   0.679     .9853828    1.022875
             university_pct |    1.01219   .0160002     0.77   0.443     .9813111    1.044041
      ln_population_density |   .9794107    .079692    -0.26   0.798     .8350354    1.148748
          l3previous_attack |   2.900868   .7776581     3.97   0.000     1.715299    4.905871
                      _cons |   1.87e-10   6.26e-10    -6.68   0.000     2.60e-13    1.34e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.076867   1.933174     1.79   0.074     .8980587    10.54175
             pct_mursi_2012 |    1.03443   .0255407     1.37   0.170     .9855628     1.08572
            pct_shafiq_2012 |   1.029755   .0736446     0.41   0.682     .8950739    1.184702
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987956   .0013144    -0.92   0.360     .9962227    1.001375
                            |
                      rabaa |   4.232518   4.240511     1.44   0.150     .5940048    30.15836
       sqrt_killed_at_rabaa |   .9123891   .1712074    -0.49   0.625     .6316178    1.317971
                    CPI_pct |   .9583916   .0393967    -1.03   0.301     .8842042    1.038803
   public_holiday_christian |   3.167486   3.380942     1.08   0.280     .3909766     25.6613
      public_holiday_muslim |   6.77e-07   2.11e-07   -45.61   0.000     3.68e-07    1.25e-06
                     friday |    1.48758   .6322587     0.93   0.350     .6466932     3.42186
             sqrt_co_ethnic |   1.094626   .6015566     0.16   0.869     .3728073    3.214011
sqrt_distance_from_north_~i |   .8446279   .0716704    -1.99   0.047      .715216    .9974558
sqrt_distance_to_gov_centre |   .7034078   .0887013    -2.79   0.005     .5493748    .9006284
        sqrt_police_strikes |   1.309653   .3605624     0.98   0.327     .7635028    2.246476
            log10christians |   1.444502   .3758123     1.41   0.157     .8674879    2.405321
       sqrt_coptic_churches |   1.802098   .3509665     3.02   0.002     1.230277    2.639694
            agriculture_pct |   .9802971   .0124844    -1.56   0.118      .956131    1.005074
             university_pct |   .9913222   .0141583    -0.61   0.542     .9639574    1.019464
      ln_population_density |   .8774503    .080864    -1.42   0.156     .7324492    1.051157
          l3previous_attack |   1.48e-07   9.27e-08   -25.16   0.000     4.36e-08    5.05e-07
                      _cons |    .000898   .0021366    -2.95   0.003     8.47e-06    .0951759
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 318 observations completely determined. Standard errors questionable.

.         
. vce2way mlogit $basic_dv $h1 $h2 $h3 $h4 $controls_alt_4, cluster(gov_ID adm2_pcode)    

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2527.2998                      Pseudo R2     =  0.2152

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.459978    .204655    12.02   0.000     2.058861    2.861094
             pct_mursi_2012 |   .0567002   .0141847     4.00   0.000     .0288988    .0845017
            pct_shafiq_2012 |   .0420185   .0448057     0.94   0.348     -.045799     .129836
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012266   .0009713    -1.26   0.207    -.0031302    .0006771
                            |
                      rabaa |   4.819096   .2763353    17.44   0.000     4.277488    5.360703
       sqrt_killed_at_rabaa |   .0252625   .1004971     0.25   0.802    -.1717082    .2222332
                    CPI_pct |  -.1091031   .0730672    -1.49   0.135    -.2523122    .0341059
   public_holiday_christian |  -13.36925   .5127445   -26.07   0.000    -14.37421   -12.36429
      public_holiday_muslim |  -.9606255   1.085182    -0.89   0.376    -3.087543    1.166292
                     friday |   .6473247    .176553     3.67   0.000     .3012871    .9933623
             sqrt_co_ethnic |   .4216069   .2597361     1.62   0.105    -.0874665    .9306803
sqrt_distance_from_north_~i |    .081941   .0473614     1.73   0.084    -.0108857    .1747676
sqrt_distance_to_gov_centre |  -.1779883   .0453166    -3.93   0.000    -.2668071   -.0891695
        sqrt_police_strikes |   .3969219   .1923718     2.06   0.039     .0198801    .7739637
            log10christians |   .9280733   .2507722     3.70   0.000     .4365688    1.419578
       sqrt_coptic_churches |   .4516963   .1145077     3.94   0.000     .2272653    .6761274
            agriculture_pct |  -.0044194    .010049    -0.44   0.660    -.0241151    .0152763
             university_pct |   .0099809   .0133092     0.75   0.453    -.0161047    .0360665
      ln_population_density |  -.0454862   .0755165    -0.60   0.547    -.1934959    .1025234
          l4previous_attack |  -.6804175   .4243208    -1.60   0.109    -1.512071    .1512359
                      _cons |  -16.59524   1.606306   -10.33   0.000    -19.74354   -13.44694
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .6995288    .405084     1.73   0.084    -.0944213    1.493479
             pct_mursi_2012 |   .0779062   .0221322     3.52   0.000     .0345278    .1212845
            pct_shafiq_2012 |   .0732895   .0460713     1.59   0.112    -.0170084    .1635875
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012971   .0009548    -1.36   0.174    -.0031685    .0005744
                            |
                      rabaa |   1.791775    .705441     2.54   0.011     .4091359    3.174414
       sqrt_killed_at_rabaa |   .1693379   .1208663     1.40   0.161    -.0675556    .4062314
                    CPI_pct |   .0090578   .0027355     3.31   0.001     .0036963    .0144193
   public_holiday_christian |  -13.75593    .591099   -23.27   0.000    -14.91446    -12.5974
      public_holiday_muslim |   .8765195   .2755739     3.18   0.001     .3364045    1.416634
                     friday |  -.0747768   .2006652    -0.37   0.709    -.4680734    .3185198
             sqrt_co_ethnic |   -.309565   .7354317    -0.42   0.674    -1.750985    1.131855
sqrt_distance_from_north_~i |   .1263293   .0717381     1.76   0.078    -.0142749    .2669335
sqrt_distance_to_gov_centre |  -.0074947   .0380918    -0.20   0.844    -.0821533    .0671639
        sqrt_police_strikes |   .3353579   .1267855     2.65   0.008      .086863    .5838528
            log10christians |   1.704072    .339644     5.02   0.000     1.038382    2.369762
       sqrt_coptic_churches |   .2600443   .0945785     2.75   0.006     .0746738    .4454149
            agriculture_pct |   .0039222   .0095318     0.41   0.681    -.0147597    .0226041
             university_pct |   .0121474   .0158194     0.77   0.443     -.018858    .0431528
      ln_population_density |  -.0205564   .0814129    -0.25   0.801    -.1801228    .1390099
          l4previous_attack |   1.068576   .2468342     4.33   0.000     .5847902    1.552362
                      _cons |  -22.40588   3.356609    -6.68   0.000    -28.98472   -15.82705
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.132436   .6255092     1.81   0.070     -.093539    2.358412
             pct_mursi_2012 |   .0337278   .0245959     1.37   0.170    -.0144793    .0819349
            pct_shafiq_2012 |   .0287817   .0714375     0.40   0.687    -.1112333    .1687966
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011878   .0013099    -0.91   0.365    -.0037552    .0013795
                            |
                      rabaa |   1.225641   1.077943     1.14   0.256    -.8870879     3.33837
       sqrt_killed_at_rabaa |  -.0883673   .1854467    -0.48   0.634    -.4518362    .2751016
                    CPI_pct |  -.0424101   .0403485    -1.05   0.293    -.1214916    .0366715
   public_holiday_christian |   1.135244   1.070049     1.06   0.289    -.9620143    3.232501
      public_holiday_muslim |  -14.21251   .3099952   -45.85   0.000    -14.82009   -13.60493
                     friday |   .4028833   .4251414     0.95   0.343    -.4303784    1.236145
             sqrt_co_ethnic |   .0922871   .5470761     0.17   0.866    -.9799623    1.164537
sqrt_distance_from_north_~i |   -.165421   .0810012    -2.04   0.041    -.3241804   -.0066616
sqrt_distance_to_gov_centre |  -.3490172    .123181    -2.83   0.005    -.5904475   -.1075869
        sqrt_police_strikes |   .2574491   .2713188     0.95   0.343     -.274326    .7892242
            log10christians |   .3592286   .2635111     1.36   0.173    -.1572437    .8757009
       sqrt_coptic_churches |   .5746595   .1864764     3.08   0.002     .2091724    .9401465
            agriculture_pct |   -.020323   .0127382    -1.60   0.111    -.0452894    .0046435
             university_pct |  -.0088292   .0141507    -0.62   0.533    -.0365641    .0189058
      ln_population_density |   -.129736   .0915738    -1.42   0.157    -.3092174    .0497454
          l4previous_attack |   2.027601   1.094192     1.85   0.064    -.1169749    4.172177
                      _cons |  -7.020046   2.355148    -2.98   0.003    -11.63605    -2.40404
---------------------------------------------------------------------------------------------
Note: 316 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2527.2998                      Pseudo R2     =  0.2152

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   11.70455   2.395395    12.02   0.000     7.837042    17.48064
             pct_mursi_2012 |   1.058339   .0150122     4.00   0.000      1.02932    1.088175
            pct_shafiq_2012 |   1.042914   .0467284     0.94   0.348     .9552339    1.138642
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987742   .0009701    -1.26   0.207     .9968747    1.000677
                            |
                      rabaa |    123.853   34.22496    17.44   0.000     72.05923    212.8745
       sqrt_killed_at_rabaa |   1.025584   .1030683     0.25   0.802     .8422249    1.248863
                    CPI_pct |   .8966379   .0655148    -1.49   0.135     .7770021    1.034694
   public_holiday_christian |   1.56e-06   8.01e-07   -26.07   0.000     5.72e-07    4.27e-06
      public_holiday_muslim |   .3826535   .4152486    -0.89   0.376     .0456139    3.210066
                     friday |   1.910423    .337291     3.67   0.000     1.351597    2.700298
             sqrt_co_ethnic |   1.524409   .3959441     1.62   0.105     .9162496    2.536234
sqrt_distance_from_north_~i |   1.085392   .0514057     1.73   0.084     .9891734    1.190969
sqrt_distance_to_gov_centre |   .8369522   .0379278    -3.93   0.000     .7658207    .9146905
        sqrt_police_strikes |    1.48724    .286103     2.06   0.039     1.020079    2.168344
            log10christians |   2.529631   .6343611     3.70   0.000     1.547389    4.135374
       sqrt_coptic_churches |   1.570975   .1798888     3.94   0.000     1.255163    1.966248
            agriculture_pct |   .9955903   .0100047    -0.44   0.660     .9761733    1.015394
             university_pct |   1.010031   .0134427     0.75   0.453     .9840243    1.036725
      ln_population_density |   .9555327   .0721585    -0.60   0.547     .8240732    1.107963
          l4previous_attack |   .5064055   .2148784    -1.60   0.109      .220453    1.163271
                      _cons |   6.21e-08   9.97e-08   -10.33   0.000     2.66e-09    1.45e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.012804   .8153548     1.73   0.084     .9098993    4.452559
             pct_mursi_2012 |   1.081021   .0239254     3.52   0.000     1.035131    1.128946
            pct_shafiq_2012 |   1.076042   .0495746     1.59   0.112     .9831354    1.177728
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987038   .0009536    -1.36   0.174     .9968365    1.000575
                            |
                      rabaa |   6.000093   4.232711     2.54   0.011     1.505516     23.9128
       sqrt_killed_at_rabaa |    1.18452   .1431686     1.40   0.161     .9346757     1.50115
                    CPI_pct |   1.009099   .0027604     3.31   0.001     1.003703    1.014524
   public_holiday_christian |   1.06e-06   6.27e-07   -23.27   0.000     3.33e-07    3.38e-06
      public_holiday_muslim |   2.402523   .6620728     3.18   0.001     1.399905     4.12322
                     friday |   .9279506   .1862074    -0.37   0.709     .6262076    1.375091
             sqrt_co_ethnic |    .733766   .5396348    -0.42   0.674     .1736029    3.101403
sqrt_distance_from_north_~i |   1.134656   .0813981     1.76   0.078     .9858265    1.305954
sqrt_distance_to_gov_centre |   .9925333   .0378074    -0.20   0.844     .9211308    1.069471
        sqrt_police_strikes |   1.398441    .177302     2.65   0.008     1.090747    1.792933
            log10christians |   5.496281   1.866779     5.02   0.000     2.824642    10.69484
       sqrt_coptic_churches |   1.296988   .1226672     2.75   0.006     1.077533    1.561138
            agriculture_pct |    1.00393   .0095692     0.41   0.681     .9853486    1.022861
             university_pct |   1.012221   .0160127     0.77   0.443     .9813187    1.044097
      ln_population_density |   .9796534   .0797564    -0.25   0.801     .8351676    1.149136
          l4previous_attack |   2.911232   .7185916     4.33   0.000     1.794614    4.722614
                      _cons |   1.86e-10   6.24e-10    -6.68   0.000     2.58e-13    1.34e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.103208   1.941085     1.81   0.070     .9107025    10.57415
             pct_mursi_2012 |   1.034303   .0254396     1.37   0.170      .985625    1.085385
            pct_shafiq_2012 |     1.0292   .0735235     0.40   0.687       .89473    1.183879
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988129   .0013083    -0.91   0.365     .9962519     1.00138
                            |
                      rabaa |    3.40635    3.67185     1.14   0.256     .4118534    28.17318
       sqrt_killed_at_rabaa |   .9154246   .1697625    -0.48   0.634     .6364584    1.316664
                    CPI_pct |   .9584766   .0386731    -1.05   0.293     .8855985    1.037352
   public_holiday_christian |   3.111931    3.32992     1.06   0.289     .3821224    25.34297
      public_holiday_muslim |   6.72e-07   2.08e-07   -45.85   0.000     3.66e-07    1.23e-06
                     friday |   1.496132   .6360677     0.95   0.343      .650263    3.442318
             sqrt_co_ethnic |    1.09668   .5999672     0.17   0.866     .3753253    3.204437
sqrt_distance_from_north_~i |   .8475368   .0686515    -2.04   0.041     .7231198    .9933606
sqrt_distance_to_gov_centre |    .705381   .0868895    -2.83   0.005     .5540793    .8979985
        sqrt_police_strikes |   1.293626   .3509851     0.95   0.343     .7600842    2.201688
            log10christians |   1.432224    .377407     1.36   0.173     .8544958    2.400557
       sqrt_coptic_churches |   1.776525   .3312801     3.08   0.002     1.232657    2.560357
            agriculture_pct |   .9798822    .012482    -1.60   0.111     .9557208    1.004654
             university_pct |   .9912097   .0140264    -0.62   0.533     .9640963    1.019086
      ln_population_density |   .8783273   .0804318    -1.42   0.157     .7340212    1.051003
          l4previous_attack |   7.595843   8.311308     1.85   0.064     .8896075    64.85651
                      _cons |   .0008938    .002105    -2.98   0.003     8.84e-06    .0903522
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 316 observations completely determined. Standard errors questionable.

. 
. vce2way mlogit $basic_dv $h1 $h2 $h3 $h4 $controls_alt_5, cluster(gov_ID adm2_pcode)    

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2528.9153                      Pseudo R2     =  0.2147

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.498339   .2047508    12.20   0.000     2.097035    2.899643
             pct_mursi_2012 |   .0559396   .0137602     4.07   0.000     .0289701    .0829091
            pct_shafiq_2012 |   .0416403   .0449072     0.93   0.354    -.0463761    .1296567
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   -.001223   .0009724    -1.26   0.208    -.0031288    .0006829
                            |
                      rabaa |   4.766607   .2881934    16.54   0.000     4.201759    5.331456
       sqrt_killed_at_rabaa |   .0217262   .1005247     0.22   0.829    -.1752986     .218751
                    CPI_pct |  -.1084759   .0739303    -1.47   0.142    -.2533766    .0364247
   public_holiday_christian |  -13.37398   .5067171   -26.39   0.000    -14.36713   -12.38084
      public_holiday_muslim |  -.9789328   1.092071    -0.90   0.370    -3.119353    1.161487
                     friday |   .6669101   .1820575     3.66   0.000     .3100839    1.023736
             sqrt_co_ethnic |   .4178255   .2553741     1.64   0.102    -.0826985    .9183495
sqrt_distance_from_north_~i |   .0809633   .0466531     1.74   0.083    -.0104752    .1724018
sqrt_distance_to_gov_centre |  -.1766413   .0449947    -3.93   0.000    -.2648292   -.0884533
        sqrt_police_strikes |   .3946065     .19425     2.03   0.042     .0138835    .7753295
            log10christians |   .9215849   .2486168     3.71   0.000     .4343049    1.408865
       sqrt_coptic_churches |   .4471876   .1138112     3.93   0.000     .2241218    .6702535
            agriculture_pct |  -.0044075   .0100477    -0.44   0.661    -.0241007    .0152857
             university_pct |   .0095689   .0130589     0.73   0.464    -.0160261    .0351639
      ln_population_density |  -.0455827   .0754016    -0.60   0.545    -.1933671    .1022018
          l5previous_attack |   .6888929   .5207122     1.32   0.186    -.3316843     1.70947
                      _cons |  -16.51655    1.57218   -10.51   0.000    -19.59797   -13.43514
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |    .695476   .4041548     1.72   0.085     -.096653    1.487605
             pct_mursi_2012 |   .0781036   .0223201     3.50   0.000      .034357    .1218503
            pct_shafiq_2012 |   .0732317   .0458828     1.60   0.110    -.0166968    .1631603
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012954   .0009533    -1.36   0.174    -.0031638    .0005731
                            |
                      rabaa |   1.886577   .6233883     3.03   0.002      .664758    3.108395
       sqrt_killed_at_rabaa |   .1707617   .1202373     1.42   0.156    -.0648991    .4064225
                    CPI_pct |   .0091245   .0027875     3.27   0.001     .0036611    .0145879
   public_holiday_christian |   -13.7404   .5788736   -23.74   0.000    -14.87497   -12.60583
      public_holiday_muslim |   .8691429    .270896     3.21   0.001     .3381965    1.400089
                     friday |  -.0749372    .200637    -0.37   0.709    -.4681784    .3183041
             sqrt_co_ethnic |  -.3091857   .7343081    -0.42   0.674    -1.748403    1.130032
sqrt_distance_from_north_~i |   .1266479   .0720056     1.76   0.079    -.0144804    .2677762
sqrt_distance_to_gov_centre |  -.0077611   .0378444    -0.21   0.838    -.0819348    .0664126
        sqrt_police_strikes |   .3384784   .1307619     2.59   0.010     .0821897    .5947671
            log10christians |    1.70705   .3417691     4.99   0.000     1.037195    2.376905
       sqrt_coptic_churches |   .2616482   .0930545     2.81   0.005     .0792648    .4440317
            agriculture_pct |     .00398   .0094995     0.42   0.675    -.0146386    .0225987
             university_pct |   .0123326   .0158993     0.78   0.438    -.0188294    .0434947
      ln_population_density |  -.0208755   .0814051    -0.26   0.798    -.1804265    .1386756
          l5previous_attack |   .6482811   .6490732     1.00   0.318     -.623879    1.920441
                      _cons |  -22.43641   3.381472    -6.64   0.000    -29.06398   -15.80885
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.123993   .6285451     1.79   0.074    -.1079331    2.355918
             pct_mursi_2012 |   .0338417   .0246875     1.37   0.170    -.0145449    .0822283
            pct_shafiq_2012 |    .029296   .0715183     0.41   0.682    -.1108773    .1694694
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012048   .0013161    -0.92   0.360    -.0037843    .0013747
                            |
                      rabaa |   1.436694   1.001519     1.43   0.151    -.5262478    3.399635
       sqrt_killed_at_rabaa |  -.0916693   .1875759    -0.49   0.625    -.4593114    .2759727
                    CPI_pct |  -.0424902   .0410913    -1.03   0.301    -.1230277    .0380473
   public_holiday_christian |    1.14894   1.067709     1.08   0.282    -.9437316    3.241611
      public_holiday_muslim |  -14.20527   .3111377   -45.66   0.000    -14.81509   -13.59545
                     friday |    .398147   .4248065     0.94   0.349    -.4344585    1.230752
             sqrt_co_ethnic |   .0904465   .5494845     0.16   0.869    -.9865234    1.167416
sqrt_distance_from_north_~i |  -.1688669   .0848465    -1.99   0.047     -.335163   -.0025709
sqrt_distance_to_gov_centre |  -.3517994   .1261176    -2.79   0.005    -.5989854   -.1046134
        sqrt_police_strikes |   .2696822   .2752457     0.98   0.327    -.2697895     .809154
            log10christians |   .3676376   .2601328     1.41   0.158    -.1422133    .8774886
       sqrt_coptic_churches |    .588922   .1947108     3.02   0.002     .2072958    .9705482
            agriculture_pct |  -.0199015   .0127351    -1.56   0.118    -.0448618    .0050588
             university_pct |  -.0087189   .0142835    -0.61   0.542    -.0367141    .0192762
      ln_population_density |  -.1307326   .0921362    -1.42   0.156    -.3113161     .049851
          l5previous_attack |  -15.69983   .6238347   -25.17   0.000    -16.92253   -14.47714
                      _cons |  -7.014212   2.378639    -2.95   0.003    -11.67626   -2.352165
---------------------------------------------------------------------------------------------
Note: 317 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2528.9153                      Pseudo R2     =  0.2147

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   12.16227   2.490235    12.20   0.000     8.141989    18.16766
             pct_mursi_2012 |   1.057534   .0145519     4.07   0.000     1.029394    1.086443
            pct_shafiq_2012 |   1.042519   .0468166     0.93   0.354     .9546828    1.138438
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987778   .0009712    -1.26   0.208     .9968761    1.000683
                            |
                      rabaa |   117.5199   33.86844    16.54   0.000     66.80372    206.7388
       sqrt_killed_at_rabaa |   1.021964   .1027326     0.22   0.829     .8392064    1.244521
                    CPI_pct |   .8972005   .0663303    -1.47   0.142     .7761755    1.037096
   public_holiday_christian |   1.56e-06   7.88e-07   -26.39   0.000     5.76e-07    4.20e-06
      public_holiday_muslim |   .3757118    .410304    -0.90   0.370     .0441858    3.194681
                     friday |   1.948208    .354686     3.66   0.000      1.36354    2.783576
             sqrt_co_ethnic |   1.518656   .3878253     1.64   0.102     .9206287    2.505152
sqrt_distance_from_north_~i |   1.084331   .0505875     1.74   0.083     .9895795    1.188155
sqrt_distance_to_gov_centre |   .8380804   .0377092    -3.93   0.000      .767337    .9153458
        sqrt_police_strikes |     1.4838   .2882282     2.03   0.042      1.01398    2.171307
            log10christians |   2.513271   .6248413     3.71   0.000      1.54389    4.091309
       sqrt_coptic_churches |   1.563908   .1779902     3.93   0.000     1.251223    1.954733
            agriculture_pct |   .9956022   .0100035    -0.44   0.661     .9761874    1.015403
             university_pct |   1.009615   .0131845     0.73   0.464     .9841016    1.035789
      ln_population_density |   .9554406   .0720418    -0.60   0.545     .8241794    1.107607
          l5previous_attack |   1.991509   1.037003     1.32   0.186     .7177139    5.526032
                      _cons |   6.71e-08   1.06e-07   -10.51   0.000     3.08e-09    1.46e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.004663   .8101943     1.72   0.085      .907871    4.426481
             pct_mursi_2012 |   1.081235   .0241333     3.50   0.000     1.034954    1.129585
            pct_shafiq_2012 |    1.07598   .0493689     1.60   0.110     .9834418    1.177225
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987055   .0009521    -1.36   0.174     .9968412    1.000573
                            |
                      rabaa |   6.596747   4.112334     3.03   0.002      1.94402    22.38509
       sqrt_killed_at_rabaa |   1.186208   .1426265     1.42   0.156      .937162    1.501437
                    CPI_pct |   1.009166    .002813     3.27   0.001     1.003668    1.014695
   public_holiday_christian |   1.08e-06   6.24e-07   -23.74   0.000     3.47e-07    3.35e-06
      public_holiday_muslim |   2.384866   .6460506     3.21   0.001     1.402416    4.055562
                     friday |   .9278018   .1861513    -0.37   0.709     .6261418    1.374794
             sqrt_co_ethnic |   .7340444   .5390148    -0.42   0.674     .1740516    3.095755
sqrt_distance_from_north_~i |   1.135017   .0817276     1.76   0.079     .9856239    1.307055
sqrt_distance_to_gov_centre |   .9922689   .0375518    -0.21   0.838      .921332    1.068668
        sqrt_police_strikes |   1.402811   .1834344     2.59   0.010     1.085662    1.812609
            log10christians |   5.512676   1.884062     4.99   0.000     2.821293    10.77152
       sqrt_coptic_churches |   1.299069   .1208842     2.81   0.005     1.082491     1.55898
            agriculture_pct |   1.003988   .0095374     0.42   0.675      .985468    1.022856
             university_pct |   1.012409   .0160966     0.78   0.438     .9813467    1.044454
      ln_population_density |   .9793409   .0797233    -0.26   0.798      .834914    1.148751
          l5previous_attack |   1.912251   1.241191     1.00   0.318     .5358618    6.823969
                      _cons |   1.80e-10   6.10e-10    -6.64   0.000     2.39e-13    1.36e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.077115   1.934106     1.79   0.074     .8976876    10.54781
             pct_mursi_2012 |   1.034421   .0255373     1.37   0.170     .9855604    1.085704
            pct_shafiq_2012 |   1.029729   .0736445     0.41   0.682     .8950486    1.184676
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987959   .0013145    -0.92   0.360     .9962229    1.001376
                            |
                      rabaa |   4.206764   4.213155     1.43   0.151     .5908177    29.95317
       sqrt_killed_at_rabaa |   .9124068   .1711456    -0.49   0.625     .6317185    1.317812
                    CPI_pct |   .9583999   .0393819    -1.03   0.301     .8842392     1.03878
   public_holiday_christian |   3.154846   3.368457     1.08   0.282     .3891729    25.57488
      public_holiday_muslim |   6.77e-07   2.11e-07   -45.66   0.000     3.68e-07    1.25e-06
                     friday |   1.489063   .6325636     0.94   0.349     .6476153    3.423805
             sqrt_co_ethnic |   1.094663   .6015004     0.16   0.869     .3728708    3.213679
sqrt_distance_from_north_~i |   .8446213   .0716632    -1.99   0.047     .7152215    .9974324
sqrt_distance_to_gov_centre |   .7034212   .0887138    -2.79   0.005     .5493687    .9006727
        sqrt_police_strikes |   1.309548   .3604476     0.98   0.327     .7635402    2.246007
            log10christians |   1.444319   .3757147     1.41   0.158     .8674362    2.404853
       sqrt_coptic_churches |   1.802045   .3508776     3.02   0.002     1.230346    2.639391
            agriculture_pct |   .9802952   .0124841    -1.56   0.118     .9561296    1.005072
             university_pct |    .991319   .0141595    -0.61   0.542     .9639517    1.019463
      ln_population_density |   .8774524   .0808451    -1.42   0.156     .7324823    1.051114
          l5previous_attack |   1.52e-07   9.48e-08   -25.17   0.000     4.47e-08    5.16e-07
                      _cons |    .000899   .0021384    -2.95   0.003     8.49e-06    .0951629
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 317 observations completely determined. Standard errors questionable.

. 
. vce2way mlogit $basic_dv $h1 $h2 $h3 $h4 $controls_alt_6, cluster(gov_ID adm2_pcode)    

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2518.3713                      Pseudo R2     =  0.2180

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.448477   .2063992    11.86   0.000     2.043942    2.853012
             pct_mursi_2012 |    .056994   .0143587     3.97   0.000     .0288515    .0851364
            pct_shafiq_2012 |   .0416745   .0446524     0.93   0.351    -.0458426    .1291917
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012217   .0009699    -1.26   0.208    -.0031227    .0006792
                            |
                      rabaa |   4.834929   .2695924    17.93   0.000     4.306538    5.363321
       sqrt_killed_at_rabaa |   .0263062    .100334     0.26   0.793    -.1703448    .2229573
                    CPI_pct |  -.1096645   .0727918    -1.51   0.132    -.2523338    .0330047
   public_holiday_christian |   -13.6582    .516856   -26.43   0.000    -14.67122   -12.64518
      public_holiday_muslim |   -.942653   1.077899    -0.87   0.382    -3.055297    1.169991
                     friday |   .6442632   .1744806     3.69   0.000     .3022875    .9862389
             sqrt_co_ethnic |    .423901   .2615298     1.62   0.105    -.0886879    .9364899
sqrt_distance_from_north_~i |   .0821418    .047701     1.72   0.085    -.0113504    .1756339
sqrt_distance_to_gov_centre |  -.1789514   .0454218    -3.94   0.000    -.2679764   -.0899263
        sqrt_police_strikes |   .3992497   .1915723     2.08   0.037     .0237749    .7747245
            log10christians |   .9289761   .2516796     3.69   0.000      .435693    1.422259
       sqrt_coptic_churches |    .454265   .1150967     3.95   0.000     .2286797    .6798504
            agriculture_pct |  -.0044299   .0100539    -0.44   0.659    -.0241353    .0152754
             university_pct |   .0101947   .0134012     0.76   0.447    -.0160711    .0364605
      ln_population_density |  -.0455515   .0755392    -0.60   0.546    -.1936057    .1025027
          l6previous_attack |  -14.21058   .7509992   -18.92   0.000    -15.68252   -12.73865
                      _cons |  -16.61026   1.616932   -10.27   0.000    -19.77939   -13.44114
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .6905747   .4243797     1.63   0.104    -.1411943    1.522344
             pct_mursi_2012 |   .0768072   .0222173     3.46   0.001     .0332621    .1203522
            pct_shafiq_2012 |   .0742213   .0460253     1.61   0.107    -.0159866    .1644291
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0013092   .0009496    -1.38   0.168    -.0031705     .000552
                            |
                      rabaa |   1.554564    .707563     2.20   0.028     .1677662    2.941362
       sqrt_killed_at_rabaa |   .1650363   .1201008     1.37   0.169    -.0703568    .4004295
                    CPI_pct |   .0087383   .0027539     3.17   0.002     .0033409    .0141358
   public_holiday_christian |  -13.03308   .5640787   -23.11   0.000    -14.13865    -11.9275
      public_holiday_muslim |   .8441376   .2747752     3.07   0.002     .3055882    1.382687
                     friday |  -.0750854   .1984019    -0.38   0.705    -.4639459    .3137751
             sqrt_co_ethnic |  -.3125131   .7388178    -0.42   0.672    -1.760569    1.135543
sqrt_distance_from_north_~i |   .1254351   .0708568     1.77   0.077    -.0134416    .2643119
sqrt_distance_to_gov_centre |  -.0041786   .0374111    -0.11   0.911    -.0775031    .0691458
        sqrt_police_strikes |   .3182665   .1302385     2.44   0.015     .0630037    .5735292
            log10christians |   1.688229   .3409893     4.95   0.000     1.019902    2.356555
       sqrt_coptic_churches |   .2499546    .093224     2.68   0.007     .0672389    .4326703
            agriculture_pct |   .0037061   .0095143     0.39   0.697    -.0149416    .0223538
             university_pct |   .0111139   .0156956     0.71   0.479    -.0196489    .0418768
      ln_population_density |  -.0172267   .0804995    -0.21   0.831    -.1750028    .1405494
          l6previous_attack |   2.182382   .2687216     8.12   0.000     1.655697    2.709067
                      _cons |  -22.29209   3.356226    -6.64   0.000    -28.87017     -15.714
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.123955   .6284785     1.79   0.074      -.10784     2.35575
             pct_mursi_2012 |   .0338431   .0246898     1.37   0.170    -.0145479    .0822341
            pct_shafiq_2012 |   .0292833   .0715303     0.41   0.682    -.1109136    .1694802
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012046   .0013163    -0.92   0.360    -.0037844    .0013752
                            |
                      rabaa |   1.437753   1.000909     1.44   0.151    -.5239936    3.399499
       sqrt_killed_at_rabaa |  -.0916486   .1875882    -0.49   0.625    -.4593148    .2760176
                    CPI_pct |  -.0425414   .0412065    -1.03   0.302    -.1233046    .0382219
   public_holiday_christian |   1.151439   1.067359     1.08   0.281    -.9405466    3.243425
      public_holiday_muslim |  -14.36137   .3106044   -46.24   0.000    -14.97014   -13.75259
                     friday |   .3980162   .4248405     0.94   0.349    -.4346559    1.230688
             sqrt_co_ethnic |   .0904938   .5494699     0.16   0.869    -.9864473    1.167435
sqrt_distance_from_north_~i |  -.1688424   .0848396    -1.99   0.047     -.335125   -.0025598
sqrt_distance_to_gov_centre |  -.3517765   .1260897    -2.79   0.005    -.5989078   -.1046452
        sqrt_police_strikes |   .2696243   .2752412     0.98   0.327    -.2698386    .8090872
            log10christians |   .3676111    .260127     1.41   0.158    -.1422284    .8774506
       sqrt_coptic_churches |   .5888689   .1947248     3.02   0.002     .2072153    .9705226
            agriculture_pct |  -.0199072   .0127357    -1.56   0.118    -.0448688    .0050544
             university_pct |  -.0087177   .0142832    -0.61   0.542    -.0367123    .0192768
      ln_population_density |  -.1307462    .092143    -1.42   0.156    -.3113432    .0498507
          l6previous_attack |   -15.7074   .6268557   -25.06   0.000    -16.93602   -14.47879
                      _cons |   -7.01417   2.378738    -2.95   0.003    -11.67641    -2.35193
---------------------------------------------------------------------------------------------
Note: 316 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2518.3713                      Pseudo R2     =  0.2180

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   11.57072   2.388187    11.86   0.000     7.720988    17.33994
             pct_mursi_2012 |   1.058649   .0152008     3.97   0.000     1.029272    1.088866
            pct_shafiq_2012 |   1.042555   .0465526     0.93   0.351     .9551923    1.137908
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |    .998779   .0009687    -1.26   0.208     .9968822    1.000679
                            |
                      rabaa |   125.8297   33.92273    17.93   0.000     74.18321    213.4325
       sqrt_killed_at_rabaa |   1.026655   .1030084     0.26   0.793      .843374    1.249767
                    CPI_pct |   .8961347   .0652312    -1.51   0.132     .7769853    1.033555
   public_holiday_christian |   1.17e-06   6.05e-07   -26.43   0.000     4.25e-07    3.22e-06
      public_holiday_muslim |   .3895929   .4199419    -0.87   0.382     .0471087    3.221964
                     friday |   1.904583   .3323128     3.69   0.000      1.35295    2.681131
             sqrt_co_ethnic |    1.52791    .399594     1.62   0.105     .9151311    2.551011
sqrt_distance_from_north_~i |    1.08561   .0517846     1.72   0.085     .9887138    1.192002
sqrt_distance_to_gov_centre |   .8361466   .0379793    -3.94   0.000     .7649258    .9139986
        sqrt_police_strikes |   1.490706   .2855779     2.08   0.037      1.02406    2.169994
            log10christians |   2.531915   .6372315     3.69   0.000     1.546034    4.146477
       sqrt_coptic_churches |   1.575015   .1812791     3.95   0.000     1.256939    1.973582
            agriculture_pct |   .9955799   .0100095    -0.44   0.659     .9761537    1.015393
             university_pct |   1.010247   .0135385     0.76   0.447     .9840574    1.037133
      ln_population_density |   .9554704   .0721755    -0.60   0.546     .8239827     1.10794
          l6previous_attack |   6.74e-07   5.06e-07   -18.92   0.000     1.55e-07    2.94e-06
                      _cons |   6.11e-08   9.88e-08   -10.27   0.000     2.57e-09    1.45e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   1.994862   .8465787     1.63   0.104     .8683206    4.582953
             pct_mursi_2012 |   1.079834    .023991     3.46   0.001     1.033822    1.127894
            pct_shafiq_2012 |   1.077045   .0495713     1.61   0.107     .9841405     1.17872
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9986916   .0009484    -1.38   0.168     .9968346    1.000552
                            |
                      rabaa |   4.733024   3.348912     2.20   0.028      1.18266    18.94163
       sqrt_killed_at_rabaa |   1.179436   .1416511     1.37   0.169     .9320612    1.492466
                    CPI_pct |   1.008777    .002778     3.17   0.002     1.003346    1.014236
   public_holiday_christian |   2.19e-06   1.23e-06   -23.11   0.000     7.24e-07    6.61e-06
      public_holiday_muslim |   2.325971   .6391191     3.07   0.002     1.357423    3.985597
                     friday |   .9276643   .1840503    -0.38   0.705     .6287976    1.368582
             sqrt_co_ethnic |    .731606   .5405236    -0.42   0.672     .1719469    3.112864
sqrt_distance_from_north_~i |   1.133642   .0803262     1.77   0.077     .9866483    1.302534
sqrt_distance_to_gov_centre |   .9958301   .0372551    -0.11   0.911     .9254242    1.071592
        sqrt_police_strikes |   1.374743   .1790444     2.44   0.015     1.065031    1.774519
            log10christians |   5.409889   1.844714     4.95   0.000     2.772923    10.55453
       sqrt_coptic_churches |   1.283967   .1196966     2.68   0.007     1.069551    1.541368
            agriculture_pct |   1.003713   .0095497     0.39   0.697     .9851694    1.022606
             university_pct |   1.011176    .015871     0.71   0.479     .9805429    1.042766
      ln_population_density |   .9829208   .0791246    -0.21   0.831     .8394546    1.150906
          l6previous_attack |   8.867403   2.382862     8.12   0.000     5.236731    15.01525
                      _cons |   2.08e-10   6.99e-10    -6.64   0.000     2.90e-13    1.50e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |      3.077   1.933829     1.79   0.074     .8977712    10.54604
             pct_mursi_2012 |   1.034422   .0255396     1.37   0.170     .9855574     1.08571
            pct_shafiq_2012 |   1.029716    .073656     0.41   0.682     .8950161    1.184689
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987961   .0013147    -0.92   0.360     .9962227    1.001376
                            |
                      rabaa |   4.211221    4.21505     1.44   0.151      .592151    29.94908
       sqrt_killed_at_rabaa |   .9124257   .1711603    -0.49   0.625     .6317163    1.317871
                    CPI_pct |   .9583508   .0394903    -1.03   0.302     .8839944    1.038962
   public_holiday_christian |   3.162741    3.37578     1.08   0.281     .3904144    25.62131
      public_holiday_muslim |   5.79e-07   1.80e-07   -46.24   0.000     3.15e-07    1.06e-06
                     friday |   1.488868   .6325315     0.94   0.349     .6474874    3.423585
             sqrt_co_ethnic |   1.094715   .6015127     0.16   0.869     .3728991    3.213739
sqrt_distance_from_north_~i |    .844642   .0716591    -1.99   0.047     .7152487    .9974435
sqrt_distance_to_gov_centre |   .7034373   .0886962    -2.79   0.005     .5494114     .900644
        sqrt_police_strikes |   1.309472   .3604208     0.98   0.327     .7635027    2.245857
            log10christians |    1.44428   .3756963     1.41   0.158     .8674231    2.404761
       sqrt_coptic_churches |   1.801949   .3508842     3.02   0.002     1.230247    2.639323
            agriculture_pct |   .9802897   .0124847    -1.56   0.118     .9561229    1.005067
             university_pct |   .9913201   .0141592    -0.61   0.542     .9639534    1.019464
      ln_population_density |   .8774404     .08085    -1.42   0.156     .7324625    1.051114
          l6previous_attack |   1.51e-07   9.45e-08   -25.06   0.000     4.41e-08    5.15e-07
                      _cons |   .0008991   .0021386    -2.95   0.003     8.49e-06    .0951853
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 316 observations completely determined. Standard errors questionable.

.         
. vce2way mlogit $basic_dv $h1 $h2 $h3 $h4 $controls_alt_7, cluster(gov_ID adm2_pcode)    

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2524.1221                      Pseudo R2     =  0.2162

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.476194   .2078343    11.91   0.000     2.068846    2.883541
             pct_mursi_2012 |   .0562045   .0143759     3.91   0.000     .0280282    .0843808
            pct_shafiq_2012 |   .0417818   .0448078     0.93   0.351    -.0460397    .1296034
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012227   .0009703    -1.26   0.208    -.0031246    .0006791
                            |
                      rabaa |   4.800372   .2777671    17.28   0.000     4.255959    5.344786
       sqrt_killed_at_rabaa |   .0235487   .1000536     0.24   0.814    -.1725528    .2196502
                    CPI_pct |  -.1081904   .0736845    -1.47   0.142    -.2526093    .0362286
   public_holiday_christian |  -13.37332   .5194034   -25.75   0.000    -14.39133    -12.3553
      public_holiday_muslim |   -.992062    1.08447    -0.91   0.360    -3.117585    1.133461
                     friday |   .6545925   .1769063     3.70   0.000     .3078625    1.001322
             sqrt_co_ethnic |   .4198601   .2569171     1.63   0.102    -.0836881    .9234083
sqrt_distance_from_north_~i |   .0817158    .046972     1.74   0.082    -.0103477    .1737792
sqrt_distance_to_gov_centre |  -.1769266   .0456976    -3.87   0.000    -.2664922   -.0873609
        sqrt_police_strikes |   .3945816   .1915734     2.06   0.039     .0191046    .7700586
            log10christians |   .9239439   .2489173     3.71   0.000      .436075    1.411813
       sqrt_coptic_churches |     .44781   .1147297     3.90   0.000      .222944     .672676
            agriculture_pct |  -.0044631   .0100429    -0.44   0.657    -.0241468    .0152206
             university_pct |   .0096812   .0133933     0.72   0.470    -.0165691    .0359316
      ln_population_density |  -.0450866   .0754369    -0.60   0.550    -.1929403     .102767
          l7previous_attack |   .9429417   1.434282     0.66   0.511      -1.8682    3.754083
                      _cons |  -16.55486   1.597846   -10.36   0.000    -19.68658   -13.42314
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .6794856   .4102574     1.66   0.098     -.124604    1.483575
             pct_mursi_2012 |   .0778039   .0220725     3.52   0.000     .0345426    .1210653
            pct_shafiq_2012 |   .0733289   .0458803     1.60   0.110    -.0165949    .1632527
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012951   .0009507    -1.36   0.173    -.0031585    .0005683
                            |
                      rabaa |   1.941736   .6245298     3.11   0.002     .7176805    3.165792
       sqrt_killed_at_rabaa |   .1699687   .1205688     1.41   0.159    -.0663417    .4062792
                    CPI_pct |   .0090108   .0027632     3.26   0.001     .0035951    .0144265
   public_holiday_christian |    -13.751   .5710869   -24.08   0.000    -14.87031   -12.63169
      public_holiday_muslim |   .8640509   .2719911     3.18   0.001     .3309581    1.397144
                     friday |  -.0783845    .201346    -0.39   0.697    -.4730155    .3162465
             sqrt_co_ethnic |  -.3090986   .7354882    -0.42   0.674    -1.750629    1.132432
sqrt_distance_from_north_~i |   .1264648   .0715881     1.77   0.077    -.0138452    .2667748
sqrt_distance_to_gov_centre |  -.0070501   .0381016    -0.19   0.853    -.0817279    .0676278
        sqrt_police_strikes |   .3340013   .1284081     2.60   0.009     .0823261    .5856765
            log10christians |   1.703401   .3396423     5.02   0.000     1.037715    2.369088
       sqrt_coptic_churches |   .2594232   .0945141     2.74   0.006      .074179    .4446674
            agriculture_pct |   .0039336   .0095091     0.41   0.679    -.0147039    .0225711
             university_pct |   .0120724   .0158032     0.76   0.445    -.0189012    .0430461
      ln_population_density |  -.0201088   .0813004    -0.25   0.805    -.1794545     .139237
          l7previous_attack |   1.229046   .0694539    17.70   0.000     1.092919    1.365173
                      _cons |  -22.40853   3.357007    -6.68   0.000    -28.98814   -15.82891
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.126898   .6189532     1.82   0.069    -.0862277    2.340024
             pct_mursi_2012 |    .033711   .0245618     1.37   0.170    -.0144292    .0818512
            pct_shafiq_2012 |   .0280609   .0716376     0.39   0.695    -.1123463     .168468
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011652     .00131    -0.89   0.374    -.0037327    .0014023
                            |
                      rabaa |   1.415747    1.00239     1.41   0.158    -.5489015    3.380395
       sqrt_killed_at_rabaa |  -.0857467   .1831378    -0.47   0.640    -.4446903    .2731969
                    CPI_pct |  -.0417474    .038311    -1.09   0.276    -.1168355    .0333408
   public_holiday_christian |   1.160465   1.067784     1.09   0.277    -.9323523    3.253282
      public_holiday_muslim |  -14.24274   .3174621   -44.86   0.000    -14.86496   -13.62053
                     friday |    .393083   .4170863     0.94   0.346     -.424391    1.210557
             sqrt_co_ethnic |   .0990472   .5439571     0.18   0.856    -.9670891    1.165184
sqrt_distance_from_north_~i |  -.1613259   .0806498    -2.00   0.045    -.3193967   -.0032552
sqrt_distance_to_gov_centre |  -.3461697   .1228895    -2.82   0.005    -.5870286   -.1053107
        sqrt_police_strikes |   .2437269   .2769201     0.88   0.379    -.2990266    .7864804
            log10christians |   .3493818   .2580367     1.35   0.176    -.1563608    .8551244
       sqrt_coptic_churches |   .5582267   .1921997     2.90   0.004     .1815222    .9349312
            agriculture_pct |   -.020912   .0124778    -1.68   0.094     -.045368     .003544
             university_pct |  -.0089255   .0140068    -0.64   0.524    -.0363784    .0185274
      ln_population_density |  -.1282135   .0910328    -1.41   0.159    -.3066344    .0502075
          l7previous_attack |    2.99717   .8935498     3.35   0.001     1.245844    4.748495
                      _cons |  -7.032776   2.338082    -3.01   0.003    -11.61533   -2.450219
---------------------------------------------------------------------------------------------
Note: 315 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 653,247
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2524.1221                      Pseudo R2     =  0.2162

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |    11.8959   2.472375    11.91   0.000     7.915682    17.87747
             pct_mursi_2012 |   1.057814   .0152071     3.91   0.000     1.028425    1.088043
            pct_shafiq_2012 |   1.042667   .0467196     0.93   0.351      .955004    1.138377
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |    .998778   .0009691    -1.26   0.208     .9968803    1.000679
                            |
                      rabaa |   121.5556   33.76416    17.28   0.000     70.52439     209.513
       sqrt_killed_at_rabaa |   1.023828   .1024377     0.24   0.814     .8415139    1.245641
                    CPI_pct |   .8974567   .0661286    -1.47   0.142     .7767713    1.036893
   public_holiday_christian |   1.56e-06   8.08e-07   -25.75   0.000     5.62e-07    4.31e-06
      public_holiday_muslim |   .3708113   .4021338    -0.91   0.360      .044264    3.106388
                     friday |   1.924358   .3404311     3.70   0.000     1.360514    2.721879
             sqrt_co_ethnic |   1.521749   .3909632     1.63   0.102     .9197181    2.517857
sqrt_distance_from_north_~i |   1.085147   .0509716     1.74   0.082     .9897056    1.189793
sqrt_distance_to_gov_centre |   .8378413   .0382873    -3.87   0.000      .766062    .9163463
        sqrt_police_strikes |   1.483763   .2842496     2.06   0.039     1.019288    2.159893
            log10christians |   2.519206   .6270741     3.71   0.000     1.546625    4.103388
       sqrt_coptic_churches |   1.564881   .1795383     3.90   0.000     1.249751    1.959474
            agriculture_pct |   .9955468   .0099982    -0.44   0.657     .9761424    1.015337
             university_pct |   1.009728   .0135236     0.72   0.470     .9835674    1.036585
      ln_population_density |   .9559146   .0721113    -0.60   0.550     .8245312    1.108233
          l7previous_attack |   2.567523   3.682553     0.66   0.511     .1544014    42.69506
                      _cons |   6.46e-08   1.03e-07   -10.36   0.000     2.82e-09    1.48e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   1.972863   .8093814     1.66   0.098     .8828464     4.40868
             pct_mursi_2012 |   1.080911   .0238584     3.52   0.000     1.035146    1.128699
            pct_shafiq_2012 |   1.076084   .0493711     1.60   0.110      .983542    1.177334
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987057   .0009495    -1.36   0.173     .9968465    1.000568
                            |
                      rabaa |   6.970845   4.353501     3.11   0.002     2.049673    23.70752
       sqrt_killed_at_rabaa |   1.185268   .1429063     1.41   0.159      .935811    1.501222
                    CPI_pct |   1.009052   .0027882     3.26   0.001     1.003602    1.014531
   public_holiday_christian |   1.07e-06   6.09e-07   -24.08   0.000     3.48e-07    3.27e-06
      public_holiday_muslim |   2.372753   .6453677     3.18   0.001     1.392301    4.043633
                     friday |   .9246088   .1861663    -0.39   0.697     .6231204    1.371968
             sqrt_co_ethnic |   .7341084   .5399281    -0.42   0.674     .1736647    3.103194
sqrt_distance_from_north_~i |   1.134809   .0812388     1.77   0.077     .9862502    1.305746
sqrt_distance_to_gov_centre |   .9929747    .037834    -0.19   0.853     .9215227    1.069967
        sqrt_police_strikes |   1.396545   .1793277     2.60   0.009      1.08581    1.796206
            log10christians |   5.492599   1.865519     5.02   0.000     2.822759    10.68764
       sqrt_coptic_churches |   1.296182   .1225075     2.74   0.006        1.077    1.559971
            agriculture_pct |   1.003941   .0095466     0.41   0.679     .9854036    1.022828
             university_pct |   1.012146   .0159951     0.76   0.445     .9812763    1.043986
      ln_population_density |   .9800921   .0796818    -0.25   0.805      .835726    1.149396
          l7previous_attack |   3.417967   .2373911    17.70   0.000     2.982968    3.916401
                      _cons |   1.85e-10   6.22e-10    -6.68   0.000     2.57e-13    1.34e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |    3.08607   1.910133     1.82   0.069     .9173853    10.38149
             pct_mursi_2012 |   1.034286   .0254039     1.37   0.170     .9856744    1.085294
            pct_shafiq_2012 |   1.028458   .0736763     0.39   0.695     .8937347     1.18349
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988355   .0013084    -0.89   0.374     .9962743    1.001403
                            |
                      rabaa |   4.119563   4.129409     1.41   0.158     .5775839    29.38239
       sqrt_killed_at_rabaa |   .9178267   .1680888    -0.47   0.640     .6410228    1.314159
                    CPI_pct |    .959112   .0367445    -1.09   0.276     .8897315    1.033903
   public_holiday_christian |   3.191417   3.407743     1.09   0.277     .3936267    25.87513
      public_holiday_muslim |   6.52e-07   2.07e-07   -44.86   0.000     3.50e-07    1.22e-06
                     friday |   1.481541   .6179306     0.94   0.346      .654168    3.355353
             sqrt_co_ethnic |   1.104118   .6005931     0.18   0.856     .3801881    3.206512
sqrt_distance_from_north_~i |   .8510146   .0686342    -2.00   0.045     .7265873    .9967501
sqrt_distance_to_gov_centre |   .7073924   .0869311    -2.82   0.005     .5559768    .9000448
        sqrt_police_strikes |   1.275996   .3533489     0.88   0.379     .7415397    2.195655
            log10christians |   1.418191   .3659452     1.35   0.176     .8552506    2.351667
       sqrt_coptic_churches |   1.747571   .3358826     2.90   0.004     1.199041    2.547038
            agriculture_pct |   .9793052   .0122196    -1.68   0.094     .9556458     1.00355
             university_pct |   .9911142   .0138824    -0.64   0.524     .9642754      1.0187
      ln_population_density |   .8796656   .0800784    -1.41   0.159     .7359196    1.051489
          l7previous_attack |   20.02877    17.8967     3.35   0.001     3.475868    115.4105
                      _cons |   .0008825   .0020633    -3.01   0.003     9.03e-06    .0862747
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 315 observations completely determined. Standard errors questionable.

. 
. ********************************************************************************
. *Appendix Table B3 - How varying the Rabaa period predicts the incidence of burnings, beatin
> gs, and bombings
. ********************************************************************************
. 
. *2 weeks
. global h1_alt mboccup pct_mursi_2012 c.pct_shafiq_2012##c.pct_shafiq_2012 rabaa_2weeks sqrt_
> killed_at_rabaa

. 
. *3 weeks
. global h1_alt2 mboccup pct_mursi_2012 c.pct_shafiq_2012##c.pct_shafiq_2012 rabaa_3weeks sqrt
> _killed_at_rabaa

. 
. *4 weeks
. global h1_alt3 mboccup pct_mursi_2012 c.pct_shafiq_2012##c.pct_shafiq_2012 rabaa_4weeks sqrt
> _killed_at_rabaa

. 
. *8 weeks
. global h1_alt4 mboccup pct_mursi_2012 c.pct_shafiq_2012##c.pct_shafiq_2012 rabaa_8weeks sqrt
> _killed_at_rabaa

. 
. *12 weeks
. global h1_alt5 mboccup pct_mursi_2012 c.pct_shafiq_2012##c.pct_shafiq_2012 rabaa_12weeks sqr
> t_killed_at_rabaa

. 
. 
. vce2way mlogit $basic_dv $h1 $h2 $h3 $h4 $controls, cluster(gov_ID adm2_pcode) 

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.6687                      Pseudo R2     =  0.2169

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.519121   .2149879    11.72   0.000     2.097752    2.940489
             pct_mursi_2012 |   .0555903   .0145586     3.82   0.000      .027056    .0841247
            pct_shafiq_2012 |   .0405967   .0450008     0.90   0.367    -.0476032    .1287966
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012095   .0009719    -1.24   0.213    -.0031143    .0006953
                            |
                      rabaa |   4.741909   .2837735    16.71   0.000     4.185723    5.298095
       sqrt_killed_at_rabaa |   .0208104   .0999446     0.21   0.835    -.1750774    .2166983
                    CPI_pct |  -.1082522   .0739391    -1.46   0.143    -.2531702    .0366657
   public_holiday_christian |  -13.36599   .5175606   -25.82   0.000    -14.38039   -12.35159
      public_holiday_muslim |  -.9818595   1.082775    -0.91   0.365    -3.104059     1.14034
                     friday |    .663455   .1740658     3.81   0.000     .3222923    1.004618
             sqrt_co_ethnic |   .4194598   .2551401     1.64   0.100    -.0806056    .9195253
sqrt_distance_from_north_~i |   .0803634   .0475203     1.69   0.091    -.0127746    .1735014
sqrt_distance_to_gov_centre |  -.1774618   .0451491    -3.93   0.000    -.2659524   -.0889712
        sqrt_police_strikes |   .3949902   .1930199     2.05   0.041     .0166783    .7733022
            log10christians |   .9176519   .2463427     3.73   0.000     .4348291    1.400475
       sqrt_coptic_churches |   .4487481   .1142824     3.93   0.000     .2247587    .6727374
            agriculture_pct |  -.0044175   .0100787    -0.44   0.661    -.0241715    .0153365
             university_pct |   .0093557   .0131778     0.71   0.478    -.0164723    .0351837
      ln_population_density |  -.0461034   .0753024    -0.61   0.540    -.1936934    .1014866
           lprevious_attack |   .7405662   .7153899     1.04   0.301    -.6615721    2.142705
                      _cons |  -16.45467   1.609804   -10.22   0.000    -19.60983   -13.29951
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7186564   .4009647     1.79   0.073      -.06722    1.504533
             pct_mursi_2012 |   .0780845   .0221851     3.52   0.000     .0346025    .1215664
            pct_shafiq_2012 |   .0731162   .0459834     1.59   0.112    -.0170096    .1632421
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012938   .0009542    -1.36   0.175     -.003164    .0005764
                            |
                      rabaa |   1.861885   .6837292     2.72   0.006     .5218008     3.20197
       sqrt_killed_at_rabaa |   .1706384   .1209727     1.41   0.158    -.0664636    .4077405
                    CPI_pct |   .0091272   .0027603     3.31   0.001     .0037171    .0145372
   public_holiday_christian |  -13.74158   .5740337   -23.94   0.000    -14.86667    -12.6165
      public_holiday_muslim |    .868466   .2721304     3.19   0.001     .3351002    1.401832
                     friday |   -.075929   .2023464    -0.38   0.707    -.4725208    .3206627
             sqrt_co_ethnic |  -.3095146   .7345417    -0.42   0.673     -1.74919    1.130161
sqrt_distance_from_north_~i |   .1265987   .0719421     1.76   0.078    -.0144053    .2676028
sqrt_distance_to_gov_centre |  -.0080658   .0380678    -0.21   0.832    -.0826773    .0665458
        sqrt_police_strikes |   .3386683   .1278929     2.65   0.008     .0880028    .5893337
            log10christians |   1.706878   .3401686     5.02   0.000      1.04016    2.373596
       sqrt_coptic_churches |   .2620958    .094289     2.78   0.005     .0772929    .4468988
            agriculture_pct |   .0039691   .0095226     0.42   0.677    -.0146948    .0226331
             university_pct |   .0123235   .0158774     0.78   0.438    -.0187957    .0434427
      ln_population_density |   -.021166   .0814184    -0.26   0.795    -.1807431    .1384112
           lprevious_attack |   .6080344   .2152063     2.83   0.005     .1862378    1.029831
                      _cons |  -22.42882   3.365415    -6.66   0.000    -29.02491   -15.83273
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.143212   .6285906     1.82   0.069    -.0888034    2.375227
             pct_mursi_2012 |   .0330277   .0244428     1.35   0.177    -.0148793    .0809347
            pct_shafiq_2012 |   .0264936   .0715213     0.37   0.711    -.1136856    .1666729
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011341   .0013104    -0.87   0.387    -.0037025    .0014343
                            |
                      rabaa |   .8124581   1.156676     0.70   0.482    -1.454584    3.079501
       sqrt_killed_at_rabaa |  -.0813186   .1819582    -0.45   0.655    -.4379501    .2753129
                    CPI_pct |  -.0425762   .0392889    -1.08   0.279     -.119581    .0344285
   public_holiday_christian |    1.14044   1.070467     1.07   0.287    -.9576369    3.238516
      public_holiday_muslim |  -14.04784   .3071965   -45.73   0.000    -14.64993   -13.44575
                     friday |   .4009717   .4294786     0.93   0.350    -.4407909    1.242734
             sqrt_co_ethnic |   .1013114   .5417058     0.19   0.852    -.9604125    1.163035
sqrt_distance_from_north_~i |  -.1588907   .0803803    -1.98   0.048    -.3164332   -.0013482
sqrt_distance_to_gov_centre |  -.3424123   .1223318    -2.80   0.005    -.5821782   -.1026464
        sqrt_police_strikes |   .2366869   .2701885     0.88   0.381    -.2928729    .7662467
            log10christians |   .3419466   .2543018     1.34   0.179    -.1564759     .840369
       sqrt_coptic_churches |   .5477079   .1970761     2.78   0.005     .1614459    .9339698
            agriculture_pct |  -.0211486   .0125674    -1.68   0.092    -.0457803    .0034832
             university_pct |  -.0091486   .0138627    -0.66   0.509     -.036319    .0180218
      ln_population_density |   -.127764   .0907434    -1.41   0.159    -.3056179    .0500898
           lprevious_attack |   3.327682   .5522121     6.03   0.000     2.245366    4.409998
                      _cons |  -7.004383   2.308032    -3.03   0.002    -11.52804   -2.480723
---------------------------------------------------------------------------------------------
Note: 307 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2521.6687                      Pseudo R2     =  0.2169

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   12.41767   2.669649    11.72   0.000     8.147835     18.9251
             pct_mursi_2012 |   1.057165   .0153908     3.82   0.000     1.027425    1.087764
            pct_shafiq_2012 |   1.041432   .0468652     0.90   0.367     .9535121    1.137459
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987913   .0009707    -1.24   0.213     .9968906    1.000696
                            |
                      rabaa |   114.6529   32.53544    16.71   0.000     65.74104    199.9555
       sqrt_killed_at_rabaa |   1.021028   .1020463     0.21   0.835      .839392    1.241969
                    CPI_pct |   .8974012    .066353    -1.46   0.143     .7763358    1.037346
   public_holiday_christian |   1.57e-06   8.11e-07   -25.82   0.000     5.68e-07    4.32e-06
      public_holiday_muslim |   .3746139   .4056225    -0.91   0.365     .0448667    3.127832
                     friday |   1.941489   .3379468     3.81   0.000     1.380288    2.730863
             sqrt_co_ethnic |    1.52114   .3881037     1.64   0.100     .9225575    2.508099
sqrt_distance_from_north_~i |   1.083681   .0514968     1.69   0.091     .9873066    1.189462
sqrt_distance_to_gov_centre |    .837393   .0378075    -3.93   0.000     .7664756    .9148719
        sqrt_police_strikes |    1.48437   .2865128     2.05   0.041     1.016818     2.16691
            log10christians |   2.503405   .6166956     3.73   0.000     1.544699    4.057125
       sqrt_coptic_churches |    1.56635   .1790062     3.93   0.000     1.252021    1.959594
            agriculture_pct |   .9955922   .0100343    -0.44   0.661     .9761183    1.015455
             university_pct |     1.0094   .0133017     0.71   0.478     .9836626     1.03581
      ln_population_density |   .9549432   .0719095    -0.61   0.540     .8239105    1.106815
           lprevious_attack |   2.097123    1.50026     1.04   0.301     .5160394    8.522456
                      _cons |   7.14e-08   1.15e-07   -10.22   0.000     3.04e-09    1.68e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.051675   .8226493     1.79   0.073     .9349895     4.50205
             pct_mursi_2012 |   1.081214   .0239868     3.52   0.000     1.035208    1.129264
            pct_shafiq_2012 |   1.075856   .0494715     1.59   0.112     .9831342    1.177322
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |    .998707    .000953    -1.36   0.175      .996841    1.000577
                            |
                      rabaa |   6.435859   4.400385     2.72   0.006     1.685059     24.5809
       sqrt_killed_at_rabaa |   1.186062   .1434811     1.41   0.158     .9356969    1.503417
                    CPI_pct |   1.009169   .0027856     3.31   0.001     1.003724    1.014643
   public_holiday_christian |   1.08e-06   6.18e-07   -23.94   0.000     3.50e-07    3.32e-06
      public_holiday_muslim |   2.383252   .6485554     3.19   0.001      1.39808    4.062635
                     friday |    .926882   .1875513    -0.38   0.707     .6234288    1.378041
             sqrt_co_ethnic |    .733803   .5390089    -0.42   0.673     .1739148    3.096154
sqrt_distance_from_north_~i |   1.134962   .0816516     1.76   0.078      .985698    1.306828
sqrt_distance_to_gov_centre |   .9919667    .037762    -0.21   0.832     .9206482     1.06881
        sqrt_police_strikes |   1.403078   .1794437     2.65   0.008     1.091991    1.802787
            log10christians |   5.511727   1.874916     5.02   0.000     2.829669    10.73593
       sqrt_coptic_churches |   1.299651   .1225427     2.78   0.005     1.080358    1.563456
            agriculture_pct |   1.003977   .0095605     0.42   0.677     .9854126    1.022891
             university_pct |     1.0124   .0160743     0.78   0.438     .9813799      1.0444
      ln_population_density |   .9790564   .0797132    -0.26   0.795     .8346497    1.148448
           lprevious_attack |   1.836817   .3952947     2.83   0.005     1.204709    2.800593
                      _cons |   1.82e-10   6.11e-10    -6.66   0.000     2.48e-13    1.33e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.136826    1.97178     1.82   0.069     .9150254    10.75345
             pct_mursi_2012 |   1.033579   .0252636     1.35   0.177     .9852309      1.0843
            pct_shafiq_2012 |   1.026848   .0734415     0.37   0.711     .8925385    1.181368
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988665    .001309    -0.87   0.387     .9963043    1.001435
                            |
                      rabaa |    2.25344   2.606499     0.70   0.482     .2334974    21.74754
       sqrt_killed_at_rabaa |   .9218999   .1677472    -0.45   0.655      .645358    1.316943
                    CPI_pct |   .9583174   .0376512    -1.08   0.279     .8872921    1.035028
   public_holiday_christian |   3.128144   3.348575     1.07   0.287     .3837988    25.49587
      public_holiday_muslim |   7.93e-07   2.44e-07   -45.73   0.000     4.34e-07    1.45e-06
                     friday |   1.493275   .6413297     0.93   0.350     .6435272    3.465075
             sqrt_co_ethnic |   1.106621   .5994631     0.19   0.852      .382735     3.19963
sqrt_distance_from_north_~i |   .8530896   .0685716    -1.98   0.048     .7287437    .9986527
sqrt_distance_to_gov_centre |   .7100554   .0868623    -2.80   0.005     .5586801     .902446
        sqrt_police_strikes |   1.267044   .3423408     0.88   0.381      .746117    2.151675
            log10christians |   1.407685   .3579769     1.34   0.179     .8551522    2.317222
       sqrt_coptic_churches |   1.729285   .3408006     2.78   0.005     1.175209    2.544591
            agriculture_pct |   .9790735   .0123044    -1.68   0.092     .9552518    1.003489
             university_pct |   .9908931   .0137365    -0.66   0.509     .9643326    1.018185
      ln_population_density |    .880061   .0798598    -1.41   0.159      .736668    1.051366
           lprevious_attack |   27.87365   15.39217     6.03   0.000     9.443871    82.26926
                      _cons |   .0009079   .0020954    -3.03   0.002     9.85e-06    .0836827
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 307 observations completely determined. Standard errors questionable.

. 
. vce2way mlogit $basic_dv $h1_alt $h2 $h3 $h4 $controls, cluster(gov_ID adm2_pcode) 

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2532.8385                      Pseudo R2     =  0.2135

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   2.813771   .2385914    11.79   0.000      2.34614    3.281401
             pct_mursi_2012 |   .0545665   .0139373     3.92   0.000       .02725    .0818831
            pct_shafiq_2012 |   .0397819   .0444526     0.89   0.371    -.0473436    .1269075
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011918   .0009616    -1.24   0.215    -.0030765    .0006929
                            |
               rabaa_2weeks |   4.292556   .3130425    13.71   0.000     3.679004    4.906108
       sqrt_killed_at_rabaa |   .0207133   .0984399     0.21   0.833    -.1722254    .2136519
                    CPI_pct |  -.1003735   .0808885    -1.24   0.215    -.2589121     .058165
   public_holiday_christian |  -12.57219   .5354653   -23.48   0.000    -13.62168   -11.52269
      public_holiday_muslim |  -1.056772   1.083945    -0.97   0.330    -3.181266    1.067722
                     friday |   .6086721   .1686587     3.61   0.000     .2781072     .939237
             sqrt_co_ethnic |    .409528   .2479111     1.65   0.099    -.0763687    .8954248
sqrt_distance_from_north_~i |   .0799553   .0464449     1.72   0.085     -.011075    .1709856
sqrt_distance_to_gov_centre |  -.1748864   .0441558    -3.96   0.000    -.2614302   -.0883426
        sqrt_police_strikes |   .3900977    .191283     2.04   0.041     .0151899    .7650056
            log10christians |   .9022363   .2430276     3.71   0.000      .425911    1.378562
       sqrt_coptic_churches |   .4400401   .1120295     3.93   0.000     .2204662    .6596139
            agriculture_pct |  -.0044876   .0099625    -0.45   0.652    -.0240138    .0150387
             university_pct |   .0089612   .0128853     0.70   0.487    -.0162934    .0342158
      ln_population_density |  -.0445596   .0745722    -0.60   0.550    -.1907184    .1015992
           lprevious_attack |   1.108355   .6850101     1.62   0.106    -.2342406     2.45095
                      _cons |  -16.39745   1.562206   -10.50   0.000    -19.45932   -13.33558
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7510656   .4188727     1.79   0.073    -.0699097    1.572041
             pct_mursi_2012 |   .0780314   .0221952     3.52   0.000     .0345295    .1215332
            pct_shafiq_2012 |   .0732079   .0459929     1.59   0.111    -.0169365    .1633524
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012946   .0009539    -1.36   0.175    -.0031643    .0005751
                            |
               rabaa_2weeks |   1.226123   .7011254     1.75   0.080     -.148058    2.600303
       sqrt_killed_at_rabaa |   .1704764   .1208069     1.41   0.158    -.0663008    .4072535
                    CPI_pct |   .0090903   .0027558     3.30   0.001      .003689    .0144915
   public_holiday_christian |  -13.01329   .5746375   -22.65   0.000    -14.13956   -11.88702
      public_holiday_muslim |   .8629885   .2734895     3.16   0.002     .3269589    1.399018
                     friday |  -.0780974   .2034435    -0.38   0.701    -.4768394    .3206445
             sqrt_co_ethnic |    -.30976    .734887    -0.42   0.673    -1.750112    1.130592
sqrt_distance_from_north_~i |   .1265769   .0718894     1.76   0.078    -.0143238    .2674776
sqrt_distance_to_gov_centre |  -.0078059   .0380776    -0.20   0.838    -.0824366    .0668248
        sqrt_police_strikes |   .3373332   .1283563     2.63   0.009     .0857594     .588907
            log10christians |   1.705991   .3400185     5.02   0.000     1.039567    2.372415
       sqrt_coptic_churches |   .2611803   .0943018     2.77   0.006     .0763522    .4460084
            agriculture_pct |   .0039595   .0095156     0.42   0.677    -.0146908    .0226098
             university_pct |   .0122764   .0158711     0.77   0.439    -.0188303    .0433832
      ln_population_density |  -.0208688   .0813655    -0.26   0.798    -.1803423    .1386047
           lprevious_attack |   .7182093   .1533338     4.68   0.000     .4176805    1.018738
                      _cons |  -22.42164   3.366816    -6.66   0.000    -29.02048    -15.8228
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |    1.13018   .6352009     1.78   0.075    -.1147906    2.375151
             pct_mursi_2012 |   .0329216    .024362     1.35   0.177    -.0148271    .0806703
            pct_shafiq_2012 |   .0266604   .0717687     0.37   0.710    -.1140036    .1673244
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011393   .0013207    -0.86   0.388    -.0037279    .0014493
                            |
               rabaa_2weeks |    1.64641   .5071548     3.25   0.001     .6524047    2.640415
       sqrt_killed_at_rabaa |   -.083449   .1826337    -0.46   0.648    -.4414044    .2745064
                    CPI_pct |  -.0395984   .0349089    -1.13   0.257    -.1080185    .0288218
   public_holiday_christian |   1.173908   1.068159     1.10   0.272    -.9196447    3.267461
      public_holiday_muslim |  -13.27143   .3059323   -43.38   0.000    -13.87105   -12.67182
                     friday |   .4080805   .4267359     0.96   0.339    -.4283065    1.244468
             sqrt_co_ethnic |   .0902028   .5482794     0.16   0.869     -.984405    1.164811
sqrt_distance_from_north_~i |  -.1608327    .081368    -1.98   0.048    -.3203111   -.0013543
sqrt_distance_to_gov_centre |  -.3446051    .123873    -2.78   0.005    -.5873918   -.1018184
        sqrt_police_strikes |   .2398884   .2689705     0.89   0.372    -.2872841     .767061
            log10christians |    .345963   .2539533     1.36   0.173    -.1517763    .8437022
       sqrt_coptic_churches |   .5539367   .1946455     2.85   0.004     .1724386    .9354348
            agriculture_pct |  -.0207406   .0126541    -1.64   0.101    -.0455422     .004061
             university_pct |  -.0090535   .0138735    -0.65   0.514    -.0362451    .0181382
      ln_population_density |  -.1289569   .0907375    -1.42   0.155    -.3067992    .0488854
           lprevious_attack |   3.123601   .3762982     8.30   0.000      2.38607    3.861132
                      _cons |  -7.018918   2.305384    -3.04   0.002    -11.53739   -2.500448
---------------------------------------------------------------------------------------------
Note: 279 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2532.8385                      Pseudo R2     =  0.2135

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   16.67267   3.977956    11.79   0.000     10.44518    26.61304
             pct_mursi_2012 |   1.056083   .0147189     3.92   0.000     1.027625    1.085329
            pct_shafiq_2012 |   1.040584   .0462567     0.89   0.371     .9537596    1.135312
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988089   .0009605    -1.24   0.215     .9969283    1.000693
                            |
               rabaa_2weeks |   73.15318   22.90006    13.71   0.000     39.60691    135.1125
       sqrt_killed_at_rabaa |   1.020929   .1005002     0.21   0.833     .8417894    1.238192
                    CPI_pct |   .9044995   .0731636    -1.24   0.215     .7718909     1.05989
   public_holiday_christian |   3.47e-06   1.86e-06   -23.48   0.000     1.21e-06    9.90e-06
      public_holiday_muslim |   .3475761   .3767535    -0.97   0.330     .0415331    2.908747
                     friday |   1.837989   .3099928     3.61   0.000     1.320628    2.558029
             sqrt_co_ethnic |   1.506107   .3733805     1.65   0.099     .9264745    2.448376
sqrt_distance_from_north_~i |   1.083239   .0503109     1.72   0.085     .9889861    1.186474
sqrt_distance_to_gov_centre |   .8395524   .0370711    -3.96   0.000     .7699496    .9154472
        sqrt_police_strikes |   1.477125    .282549     2.04   0.041     1.015306    2.149006
            log10christians |    2.46511   .5990897     3.71   0.000     1.530984    3.969189
       sqrt_coptic_churches |   1.552769    .173956     3.93   0.000     1.246658    1.934045
            agriculture_pct |   .9955225   .0099179    -0.45   0.652     .9762722    1.015152
             university_pct |   1.009001   .0130012     0.70   0.487     .9838386    1.034808
      ln_population_density |   .9564186   .0713222    -0.60   0.550     .8263653     1.10694
           lprevious_attack |    3.02937   2.075149     1.62   0.106     .7911714    11.59936
                      _cons |   7.56e-08   1.18e-07   -10.50   0.000     3.54e-09    1.62e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.119257   .8876989     1.79   0.073      .932478    4.816468
             pct_mursi_2012 |   1.081157   .0239965     3.52   0.000     1.035133    1.129227
            pct_shafiq_2012 |   1.075954   .0494863     1.59   0.111     .9832061    1.177452
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987063   .0009527    -1.36   0.175     .9968407    1.000575
                            |
               rabaa_2weeks |   3.407989   2.389428     1.75   0.080     .8623811    13.46782
       sqrt_killed_at_rabaa |    1.18587   .1432612     1.41   0.158     .9358493    1.502685
                    CPI_pct |   1.009132    .002781     3.30   0.001     1.003696    1.014597
   public_holiday_christian |   2.23e-06   1.28e-06   -22.65   0.000     7.23e-07    6.88e-06
      public_holiday_muslim |   2.370233    .648234     3.16   0.002     1.386744     4.05122
                     friday |   .9248743   .1881597    -0.38   0.701     .6207422    1.378016
             sqrt_co_ethnic |    .733623     .53913    -0.42   0.673     .1737545     3.09749
sqrt_distance_from_north_~i |   1.134937     .08159     1.76   0.078     .9857783    1.306664
sqrt_distance_to_gov_centre |   .9922245   .0377815    -0.20   0.838     .9208699    1.069108
        sqrt_police_strikes |   1.401206   .1798537     2.63   0.009     1.089544    1.802018
            log10christians |    5.50684   1.872428     5.02   0.000     2.827992    10.72326
       sqrt_coptic_churches |   1.298462   .1224473     2.77   0.006     1.079343    1.562065
            agriculture_pct |   1.003967   .0095534     0.42   0.677     .9854165    1.022867
             university_pct |   1.012352   .0160671     0.77   0.439     .9813459    1.044338
      ln_population_density |   .9793474   .0796851    -0.26   0.798     .8349844     1.14867
           lprevious_attack |   2.050758   .3144505     4.68   0.000     1.518435    2.769697
                      _cons |   1.83e-10   6.16e-10    -6.66   0.000     2.49e-13    1.34e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.096214   1.966718     1.78   0.075     .8915528    10.75264
             pct_mursi_2012 |   1.033469   .0251774     1.35   0.177     .9852822    1.084013
            pct_shafiq_2012 |   1.027019   .0737078     0.37   0.710     .8922547    1.182138
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988614   .0013192    -0.86   0.388     .9962791     1.00145
                            |
               rabaa_2weeks |   5.188319   2.631281     3.25   0.001     1.920153    14.01902
       sqrt_killed_at_rabaa |    .919938   .1680117    -0.46   0.648     .6431326    1.315881
                    CPI_pct |   .9611754   .0335536    -1.13   0.257      .897611    1.029241
   public_holiday_christian |    3.23461   3.455077     1.10   0.272     .3986606    26.24463
      public_holiday_muslim |   1.72e-06   5.27e-07   -43.38   0.000     9.46e-07    3.14e-06
                     friday |   1.503928   .6417802     0.96   0.339     .6516117    3.471086
             sqrt_co_ethnic |   1.094396   .6000348     0.16   0.869     .3736615    3.205316
sqrt_distance_from_north_~i |   .8514345   .0692796    -1.98   0.048     .7259231    .9986466
sqrt_distance_to_gov_centre |   .7085001   .0877641    -2.78   0.005      .555775    .9031935
        sqrt_police_strikes |   1.271107   .3418904     0.89   0.372     .7502985    2.153428
            log10christians |    1.41335   .3589249     1.36   0.173     .8591805    2.324959
       sqrt_coptic_churches |    1.74009   .3387006     2.85   0.004     1.188199    2.548321
            agriculture_pct |    .979473   .0123944    -1.64   0.101     .9554793    1.004069
             university_pct |   .9909874   .0137485    -0.65   0.514     .9644039    1.018304
      ln_population_density |   .8790118   .0797594    -1.42   0.155     .7357983      1.0501
           lprevious_attack |   22.72808   8.552538     8.30   0.000     10.87069    47.51913
                      _cons |   .0008948   .0020628    -3.04   0.002     9.76e-06    .0820482
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 279 observations completely determined. Standard errors questionable.

. 
. vce2way mlogit $basic_dv $h1_alt2 $h2 $h3 $h4 $controls, cluster(gov_ID adm2_pcode) 

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2542.2206                      Pseudo R2     =  0.2105

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |    2.98674   .2650087    11.27   0.000     2.467333    3.506148
             pct_mursi_2012 |   .0539128   .0136661     3.94   0.000     .0271276    .0806979
            pct_shafiq_2012 |   .0394607   .0441445     0.89   0.371    -.0470608    .1259823
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011831   .0009557    -1.24   0.216    -.0030562      .00069
                            |
               rabaa_3weeks |   4.014351   .3111869    12.90   0.000     3.404436    4.624266
       sqrt_killed_at_rabaa |   .0207207   .0975196     0.21   0.832    -.1704142    .2118556
                    CPI_pct |  -.1152676   .0821713    -1.40   0.161    -.2763204    .0457851
   public_holiday_christian |  -13.12731    .549034   -23.91   0.000    -14.20339   -12.05122
      public_holiday_muslim |  -1.097644   1.083307    -1.01   0.311    -3.220886    1.025599
                     friday |   .5885849   .1656802     3.55   0.000     .2638577    .9133121
             sqrt_co_ethnic |   .4063504   .2455977     1.65   0.098    -.0750123    .8877131
sqrt_distance_from_north_~i |   .0797213   .0459655     1.73   0.083    -.0103693     .169812
sqrt_distance_to_gov_centre |  -.1729666   .0436365    -3.96   0.000    -.2584926   -.0874406
        sqrt_police_strikes |   .3869066   .1902252     2.03   0.042     .0140721    .7597411
            log10christians |   .8947644   .2409299     3.71   0.000     .4225504    1.366978
       sqrt_coptic_churches |   .4343484   .1107756     3.92   0.000     .2172323    .6514645
            agriculture_pct |  -.0045103   .0099045    -0.46   0.649    -.0239228    .0149021
             university_pct |   .0086555   .0127671     0.68   0.498    -.0163676    .0336787
      ln_population_density |  -.0435213   .0741433    -0.59   0.557    -.1888394    .1017969
           lprevious_attack |   1.336802   .6835224     1.96   0.050    -.0028774    2.676481
                      _cons |  -16.37135   1.528616   -10.71   0.000    -19.36738   -13.37532
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7637341   .4273681     1.79   0.074    -.0738919     1.60136
             pct_mursi_2012 |   .0780059   .0221987     3.51   0.000     .0344973    .1215146
            pct_shafiq_2012 |   .0732675   .0459799     1.59   0.111    -.0168513    .1633864
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012951   .0009536    -1.36   0.174     -.003164    .0005739
                            |
               rabaa_3weeks |   .7875013   .7110227     1.11   0.268    -.6060775     2.18108
       sqrt_killed_at_rabaa |   .1703767   .1207059     1.41   0.158    -.0662024    .4069559
                    CPI_pct |   .0090426   .0027579     3.28   0.001     .0036373    .0144479
   public_holiday_christian |  -13.51637    .574873   -23.51   0.000     -14.6431   -12.38964
      public_holiday_muslim |   .8584347   .2740667     3.13   0.002     .3212738    1.395596
                     friday |  -.0780805   .2033602    -0.38   0.701    -.4766591    .3204981
             sqrt_co_ethnic |  -.3096021   .7349228    -0.42   0.674    -1.750024     1.13082
sqrt_distance_from_north_~i |   .1265642   .0718541     1.76   0.078    -.0142673    .2673957
sqrt_distance_to_gov_centre |  -.0076649   .0380691    -0.20   0.840     -.082279    .0669492
        sqrt_police_strikes |   .3365404   .1287406     2.61   0.009     .0842135    .5888674
            log10christians |   1.705723   .3399492     5.02   0.000     1.039435    2.372011
       sqrt_coptic_churches |   .2606649   .0942666     2.77   0.006     .0759058     .445424
            agriculture_pct |   .0039569   .0095128     0.42   0.677    -.0146878    .0226017
             university_pct |    .012252   .0158681     0.77   0.440     -.018849     .043353
      ln_population_density |  -.0207244   .0813204    -0.25   0.799    -.1801095    .1386607
           lprevious_attack |   .7725935   .1158895     6.67   0.000     .5454544    .9997327
                      _cons |  -22.41677   3.366878    -6.66   0.000    -29.01573   -15.81781
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.150227   .6356114     1.81   0.070    -.0955483    2.396002
             pct_mursi_2012 |   .0329743   .0243903     1.35   0.176    -.0148299    .0807784
            pct_shafiq_2012 |   .0266073   .0717066     0.37   0.711     -.113935    .1671496
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011373   .0013177    -0.86   0.388    -.0037198    .0014453
                            |
               rabaa_3weeks |   1.326037   .4990752     2.66   0.008     .3478672    2.304206
       sqrt_killed_at_rabaa |  -.0826475   .1824751    -0.45   0.651     -.440292    .2749971
                    CPI_pct |  -.0403302   .0361979    -1.11   0.265    -.1112769    .0306164
   public_holiday_christian |   1.170315    1.06857     1.10   0.273    -.9240438    3.264674
      public_holiday_muslim |  -13.77717   .3060574   -45.01   0.000    -14.37703   -13.17731
                     friday |   .4054166    .427245     0.95   0.343    -.4319681    1.242801
             sqrt_co_ethnic |   .0940716   .5461064     0.17   0.863    -.9762773     1.16442
sqrt_distance_from_north_~i |  -.1600228   .0811192    -1.97   0.049    -.3190135   -.0010321
sqrt_distance_to_gov_centre |   -.343796   .1234196    -2.79   0.005     -.585694   -.1018979
        sqrt_police_strikes |   .2384474   .2696297     0.88   0.377     -.290017    .7669119
            log10christians |   .3444815   .2537704     1.36   0.175    -.1528993    .8418624
       sqrt_coptic_churches |   .5513573   .1950775     2.83   0.005     .1690124    .9337023
            agriculture_pct |  -.0208967   .0126513    -1.65   0.099    -.0456928    .0038993
             university_pct |  -.0090683   .0138646    -0.65   0.513    -.0362424    .0181058
      ln_population_density |  -.1284882   .0907354    -1.42   0.157    -.3063264      .04935
           lprevious_attack |   3.222285   .3898444     8.27   0.000     2.458204    3.986366
                      _cons |  -7.025292    2.30505    -3.05   0.002    -11.54311   -2.507478
---------------------------------------------------------------------------------------------
Note: 307 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2542.2206                      Pseudo R2     =  0.2105

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   19.82096   5.252727    11.27   0.000     11.79095    33.31966
             pct_mursi_2012 |   1.055393   .0144231     3.94   0.000     1.027499    1.084043
            pct_shafiq_2012 |    1.04025   .0459213     0.89   0.371     .9540294    1.134262
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988176   .0009546    -1.24   0.216     .9969485     1.00069
                            |
               rabaa_3weeks |   55.38734   17.23582    12.90   0.000     30.09731    101.9279
       sqrt_killed_at_rabaa |   1.020937   .0995613     0.21   0.832     .8433154    1.235969
                    CPI_pct |   .8911276   .0732251    -1.40   0.161     .7585699    1.046849
   public_holiday_christian |   1.99e-06   1.09e-06   -23.91   0.000     6.78e-07    5.84e-06
      public_holiday_muslim |   .3336564   .3614522    -1.01   0.311     .0399197    2.788764
                     friday |   1.801437   .2984625     3.55   0.000     1.301943    2.492564
             sqrt_co_ethnic |   1.501328   .3687229     1.65   0.098      .927732    2.429567
sqrt_distance_from_north_~i |   1.082985   .0497799     1.73   0.083     .9896843    1.185082
sqrt_distance_to_gov_centre |   .8411657   .0367056    -3.96   0.000     .7722147    .9162733
        sqrt_police_strikes |   1.472419   .2800912     2.03   0.042     1.014172    2.137723
            log10christians |   2.446759   .5894976     3.71   0.000     1.525848    3.923478
       sqrt_coptic_churches |   1.543957   .1710327     3.92   0.000     1.242633    1.918348
            agriculture_pct |   .9954998   .0098599    -0.46   0.649     .9763611    1.015014
             university_pct |   1.008693   .0128781     0.68   0.498     .9837656    1.034252
      ln_population_density |   .9574122   .0709857    -0.59   0.557     .8279194    1.107159
           lprevious_attack |    3.80685   2.602067     1.96   0.050     .9971267    14.53386
                      _cons |   7.76e-08   1.19e-07   -10.71   0.000     3.88e-09    1.55e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.146276   .9172496     1.79   0.074     .9287721    4.959773
             pct_mursi_2012 |   1.081129   .0239997     3.51   0.000     1.035099    1.129206
            pct_shafiq_2012 |   1.076018   .0494752     1.59   0.111     .9832899    1.177492
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987058   .0009523    -1.36   0.174      .996841    1.000574
                            |
               rabaa_3weeks |   2.197898   1.562755     1.11   0.268     .5454863    8.855866
       sqrt_killed_at_rabaa |   1.185751   .1431272     1.41   0.158     .9359414    1.502238
                    CPI_pct |   1.009084   .0027829     3.28   0.001     1.003644    1.014553
   public_holiday_christian |   1.35e-06   7.75e-07   -23.51   0.000     4.37e-07    4.16e-06
      public_holiday_muslim |   2.359465   .6466508     3.13   0.002     1.378883    4.037379
                     friday |     .92489   .1880858    -0.38   0.701     .6208541    1.377814
             sqrt_co_ethnic |   .7337388   .5392414    -0.42   0.674     .1737697    3.098196
sqrt_distance_from_north_~i |   1.134922   .0815489     1.76   0.078      .985834    1.306557
sqrt_distance_to_gov_centre |   .9923644   .0377784    -0.20   0.840      .921015    1.069241
        sqrt_police_strikes |   1.400095   .1802491     2.61   0.009     1.087861    1.801946
            log10christians |   5.505364   1.871544     5.02   0.000     2.827618    10.71893
       sqrt_coptic_churches |   1.297793   .1223385     2.77   0.006     1.078861    1.561152
            agriculture_pct |   1.003965   .0095505     0.42   0.677     .9854196    1.022859
             university_pct |   1.012327   .0160638     0.77   0.440     .9813275    1.044306
      ln_population_density |   .9794889   .0796524    -0.25   0.799     .8351788    1.148734
           lprevious_attack |   2.165375   .2509441     6.67   0.000     1.725392    2.717555
                      _cons |   1.84e-10   6.19e-10    -6.66   0.000     2.50e-13    1.35e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |    3.15891   2.007839     1.81   0.070     .9088744     10.9792
             pct_mursi_2012 |   1.033524    .025208     1.35   0.176     .9852795    1.084131
            pct_shafiq_2012 |   1.026964   .0736401     0.37   0.711      .892316    1.181931
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988634   .0013162    -0.86   0.388     .9962871    1.001446
                            |
               rabaa_3weeks |   3.766087   1.879561     2.66   0.008     1.416044    10.01622
       sqrt_killed_at_rabaa |   .9206757   .1680003    -0.45   0.651     .6438484    1.316527
                    CPI_pct |   .9604722   .0347671    -1.11   0.265      .894691     1.03109
   public_holiday_christian |   3.223009   3.444011     1.10   0.273     .3969108    26.17159
      public_holiday_muslim |   1.04e-06   3.18e-07   -45.01   0.000     5.70e-07    1.89e-06
                     friday |   1.499927   .6408364     0.95   0.343     .6492301    3.465308
             sqrt_co_ethnic |   1.098638   .5999735     0.17   0.863     .3767109    3.204065
sqrt_distance_from_north_~i |   .8521243   .0691236    -1.97   0.049     .7268657    .9989684
sqrt_distance_to_gov_centre |   .7090736   .0875136    -2.79   0.005     .5567194    .9031217
        sqrt_police_strikes |   1.269277   .3422347     0.88   0.377     .7482508    2.153107
            log10christians |   1.411258   .3581355     1.36   0.175     .8582161    2.320685
       sqrt_coptic_churches |   1.735607    .338578     2.83   0.005     1.184135     2.54391
            agriculture_pct |   .9793201   .0123897    -1.65   0.099     .9553354    1.003907
             university_pct |   .9909727   .0137394    -0.65   0.513     .9644065    1.018271
      ln_population_density |   .8794239   .0797949    -1.42   0.157     .7361463    1.050588
           lprevious_attack |   25.08537   9.779392     8.27   0.000     11.68381     53.8588
                      _cons |   .0008891   .0020494    -3.05   0.002     9.70e-06    .0814734
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 307 observations completely determined. Standard errors questionable.

. 
. vce2way mlogit $basic_dv $h1_alt3 $h2 $h3 $h4 $controls, cluster(gov_ID adm2_pcode) 

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2548.821                       Pseudo R2     =  0.2085

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   3.085683   .2808944    10.99   0.000      2.53514    3.636226
             pct_mursi_2012 |   .0533826   .0135091     3.95   0.000     .0269051      .07986
            pct_shafiq_2012 |   .0392275   .0439386     0.89   0.372    -.0468907    .1253456
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011763   .0009515    -1.24   0.216    -.0030412    .0006885
                            |
               rabaa_4weeks |   3.814229   .3222261    11.84   0.000     3.182677     4.44578
       sqrt_killed_at_rabaa |   .0203896   .0969794     0.21   0.833    -.1696866    .2104658
                    CPI_pct |  -.1730917    .077452    -2.23   0.025    -.3248948   -.0212886
   public_holiday_christian |  -13.73477   .5579199   -24.62   0.000    -14.82827   -12.64127
      public_holiday_muslim |  -1.127694   1.081927    -1.04   0.297    -3.248233     .992844
                     friday |   .5738458   .1629287     3.52   0.000     .2545114    .8931802
             sqrt_co_ethnic |   .4043283    .244525     1.65   0.098    -.0749319    .8835885
sqrt_distance_from_north_~i |   .0793271   .0457071     1.74   0.083    -.0102573    .1689114
sqrt_distance_to_gov_centre |  -.1720032   .0433294    -3.97   0.000    -.2569273    -.087079
        sqrt_police_strikes |   .3856789   .1891412     2.04   0.041     .0149688    .7563889
            log10christians |    .891813    .239802     3.72   0.000     .4218097    1.361816
       sqrt_coptic_churches |   .4312853   .1101129     3.92   0.000      .215468    .6471027
            agriculture_pct |   -.004497   .0098617    -0.46   0.648    -.0238256    .0148316
             university_pct |   .0083987   .0127013     0.66   0.508    -.0164954    .0332927
      ln_population_density |  -.0430862   .0738782    -0.58   0.560    -.1878848    .1017125
           lprevious_attack |   1.447861   .6912008     2.09   0.036     .0931323    2.802589
                      _cons |  -16.30257   1.509672   -10.80   0.000    -19.26148   -13.34367
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7656568   .4294327     1.78   0.075    -.0760157    1.607329
             pct_mursi_2012 |   .0780183   .0222036     3.51   0.000        .0345    .1215366
            pct_shafiq_2012 |   .0731749   .0459524     1.59   0.111    -.0168902    .1632399
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   -.001294   .0009536    -1.36   0.175     -.003163    .0005749
                            |
               rabaa_4weeks |    1.20216   .3619409     3.32   0.001     .4927685    1.911551
       sqrt_killed_at_rabaa |   .1704672   .1208057     1.41   0.158    -.0663076    .4072419
                    CPI_pct |   .0092487   .0027356     3.38   0.001     .0038871    .0146103
   public_holiday_christian |  -14.13004   .5719163   -24.71   0.000    -15.25098    -13.0091
      public_holiday_muslim |   .8772283   .2767853     3.17   0.002      .334739    1.419718
                     friday |  -.0778289   .2034264    -0.38   0.702    -.4765372    .3208794
             sqrt_co_ethnic |  -.3098257   .7347665    -0.42   0.673    -1.749942     1.13029
sqrt_distance_from_north_~i |   .1265445   .0718924     1.76   0.078    -.0143621    .2674511
sqrt_distance_to_gov_centre |  -.0078497   .0380505    -0.21   0.837    -.0824272    .0667278
        sqrt_police_strikes |   .3375607   .1288863     2.62   0.009     .0849483    .5901731
            log10christians |   1.706134   .3400289     5.02   0.000     1.039689    2.372578
       sqrt_coptic_churches |   .2612759   .0939523     2.78   0.005     .0771328     .445419
            agriculture_pct |   .0039634   .0095144     0.42   0.677    -.0146844    .0226112
             university_pct |   .0122751   .0158747     0.77   0.439    -.0188387     .043389
      ln_population_density |  -.0209404   .0812737    -0.26   0.797    -.1802339    .1383531
           lprevious_attack |   .7266531    .098297     7.39   0.000     .5339945    .9193118
                      _cons |  -22.43688   3.368657    -6.66   0.000    -29.03933   -15.83444
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.159982   .6361581     1.82   0.068     -.086865    2.406829
             pct_mursi_2012 |    .032988    .024407     1.35   0.177     -.014849    .0808249
            pct_shafiq_2012 |   .0265814   .0716584     0.37   0.711    -.1138665    .1670293
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   -.001136   .0013154    -0.86   0.388    -.0037141     .001442
                            |
               rabaa_4weeks |   1.091975   .4961771     2.20   0.028     .1194863    2.064465
       sqrt_killed_at_rabaa |  -.0822841   .1824823    -0.45   0.652    -.4399427    .2753746
                    CPI_pct |  -.0418453   .0391433    -1.07   0.285    -.1185648    .0348742
   public_holiday_christian |   1.166645   1.068854     1.09   0.275    -.9282706    3.261561
      public_holiday_muslim |   -14.4063   .3062571   -47.04   0.000    -15.00655   -13.80605
                     friday |   .4038522   .4276413     0.94   0.345    -.4343093    1.242014
             sqrt_co_ethnic |   .0964318   .5446694     0.18   0.859    -.9711007    1.163964
sqrt_distance_from_north_~i |  -.1595709   .0809572    -1.97   0.049    -.3182441   -.0008978
sqrt_distance_to_gov_centre |  -.3433457     .12313    -2.79   0.005    -.5846761   -.1020153
        sqrt_police_strikes |   .2377341   .2700678     0.88   0.379    -.2915891    .7670573
            log10christians |    .343678   .2537402     1.35   0.176    -.1536437    .8409997
       sqrt_coptic_churches |    .549911   .1953252     2.82   0.005     .1670806    .9327414
            agriculture_pct |  -.0209995   .0126461    -1.66   0.097    -.0457853    .0037864
             university_pct |  -.0090904   .0138661    -0.66   0.512    -.0362674    .0180867
      ln_population_density |  -.1282091   .0907444    -1.41   0.158    -.3060649    .0496466
           lprevious_attack |   3.277287   .4006274     8.18   0.000     2.492071    4.062502
                      _cons |  -7.025624   2.303526    -3.05   0.002    -11.54045   -2.510796
---------------------------------------------------------------------------------------------
Note: 310 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2548.821                       Pseudo R2     =  0.2085

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   21.88241   6.146645    10.99   0.000      12.6182    37.94835
             pct_mursi_2012 |   1.054833   .0142499     3.95   0.000      1.02727    1.083135
            pct_shafiq_2012 |   1.040007   .0456965     0.89   0.372     .9541917     1.13354
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988244   .0009503    -1.24   0.216     .9969634    1.000689
                            |
               rabaa_4weeks |   45.34178    14.6103    11.84   0.000     24.11122    85.26639
       sqrt_killed_at_rabaa |   1.020599   .0989771     0.21   0.833     .8439293    1.234253
                    CPI_pct |   .8410605   .0651418    -2.23   0.025     .7226034    .9789364
   public_holiday_christian |   1.08e-06   6.05e-07   -24.62   0.000     3.63e-07    3.24e-06
      public_holiday_muslim |   .3237789   .3503052    -1.04   0.297     .0388428    2.698899
                     friday |   1.775081   .2892116     3.52   0.000     1.289831    2.442886
             sqrt_co_ethnic |   1.498296   .3663708     1.65   0.098     .9278067    2.419567
sqrt_distance_from_north_~i |   1.082558   .0494806     1.74   0.083     .9897951    1.184015
sqrt_distance_to_gov_centre |   .8419765   .0364824    -3.97   0.000     .7734244    .9166046
        sqrt_police_strikes |   1.470612   .2781535     2.04   0.041     1.015081    2.130569
            log10christians |   2.439549   .5850087     3.72   0.000     1.524718    3.903276
       sqrt_coptic_churches |   1.539235   .1694896     3.92   0.000     1.240442    1.909999
            agriculture_pct |   .9955131   .0098175    -0.46   0.648      .976456    1.014942
             university_pct |   1.008434   .0128084     0.66   0.508     .9836399    1.033853
      ln_population_density |   .9578289   .0707627    -0.58   0.560     .8287102    1.107065
           lprevious_attack |   4.254005   2.940371     2.09   0.036     1.097607    16.48729
                      _cons |   8.32e-08   1.26e-07   -10.80   0.000     4.31e-09    1.60e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.150406   .9234547     1.78   0.075     .9268017    4.989468
             pct_mursi_2012 |   1.081142   .0240053     3.51   0.000     1.035102    1.129231
            pct_shafiq_2012 |   1.075919    .049441     1.59   0.111     .9832517    1.177319
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987068   .0009523    -1.36   0.175      .996842    1.000575
                            |
               rabaa_4weeks |   3.327295   1.204284     3.32   0.001     1.636842    6.763569
       sqrt_killed_at_rabaa |   1.185859   .1432585     1.41   0.158      .935843    1.502668
                    CPI_pct |   1.009292    .002761     3.38   0.001     1.003895    1.014718
   public_holiday_christian |   7.30e-07   4.18e-07   -24.71   0.000     2.38e-07    2.24e-06
      public_holiday_muslim |   2.404227   .6654547     3.17   0.002     1.397576    4.135952
                     friday |   .9251227   .1881943    -0.38   0.702     .6209298    1.378339
             sqrt_co_ethnic |   .7335748   .5390062    -0.42   0.673     .1737841    3.096555
sqrt_distance_from_north_~i |     1.1349   .0815907     1.76   0.078     .9857406     1.30663
sqrt_distance_to_gov_centre |    .992181   .0377529    -0.21   0.837     .9208784    1.069004
        sqrt_police_strikes |   1.401525   .1806373     2.62   0.009     1.088661    1.804301
            log10christians |   5.507625   1.872752     5.02   0.000     2.828338      10.725
       sqrt_coptic_churches |   1.298586   .1220051     2.78   0.005     1.080186    1.561144
            agriculture_pct |   1.003971   .0095521     0.42   0.677     .9854229    1.022869
             university_pct |   1.012351   .0160708     0.77   0.439     .9813376    1.044344
      ln_population_density |   .9792773   .0795895    -0.26   0.797     .8350748    1.148381
           lprevious_attack |   2.068147   .2032927     7.39   0.000     1.705732    2.507564
                      _cons |   1.80e-10   6.07e-10    -6.66   0.000     2.45e-13    1.33e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.189876   2.029265     1.82   0.068     .9168008    11.09871
             pct_mursi_2012 |   1.033538   .0252256     1.35   0.177     .9852607    1.084181
            pct_shafiq_2012 |   1.026938   .0735887     0.37   0.711     .8923771    1.181789
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988646   .0013139    -0.86   0.388     .9962928    1.001443
                            |
               rabaa_4weeks |   2.980156   1.478685     2.20   0.028     1.126918    7.881078
       sqrt_killed_at_rabaa |   .9210103   .1680681    -0.45   0.652     .6440733    1.317024
                    CPI_pct |   .9590181   .0375391    -1.07   0.285     .8881943    1.035489
   public_holiday_christian |   3.211201   3.432305     1.09   0.275     .3952367    26.09022
      public_holiday_muslim |   5.54e-07   1.70e-07   -47.04   0.000     3.04e-07    1.01e-06
                     friday |   1.497583   .6404281     0.94   0.345     .6477119    3.462579
             sqrt_co_ethnic |   1.101234   .5998088     0.18   0.859      .378666    3.202604
sqrt_distance_from_north_~i |   .8525095   .0690168    -1.97   0.049     .7274252    .9991026
sqrt_distance_to_gov_centre |   .7093929   .0873476    -2.79   0.005     .5572863    .9030157
        sqrt_police_strikes |   1.268372   .3425464     0.88   0.379     .7470755     2.15342
            log10christians |   1.410124   .3578053     1.35   0.176     .8575775    2.318684
       sqrt_coptic_churches |   1.733099   .3385179     2.82   0.005     1.181849    2.541467
            agriculture_pct |   .9792195   .0123833    -1.66   0.097      .955247    1.003794
             university_pct |   .9909508   .0137406    -0.66   0.512     .9643824    1.018251
      ln_population_density |   .8796694   .0798251    -1.41   0.158     .7363389      1.0509
           lprevious_attack |   26.50376   10.61813     8.18   0.000     12.08629    58.11954
                      _cons |   .0008888   .0020474    -3.05   0.002     9.73e-06    .0812035
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 310 observations completely determined. Standard errors questionable.

. 
. vce2way mlogit $basic_dv $h1_alt4 $h2 $h3 $h4 $controls, cluster(gov_ID adm2_pcode) 

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2565.0757                      Pseudo R2     =  0.2034

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   3.315469   .3290158    10.08   0.000      2.67061    3.960328
             pct_mursi_2012 |   .0530145    .013333     3.98   0.000     .0268823    .0791467
            pct_shafiq_2012 |   .0397572   .0437448     0.91   0.363    -.0459809    .1254954
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011801    .000948    -1.24   0.213    -.0030381    .0006778
                            |
               rabaa_8weeks |   3.327772   .3803187     8.75   0.000     2.582361    4.073183
       sqrt_killed_at_rabaa |   .0195865   .0957802     0.20   0.838    -.1681393    .2073123
                    CPI_pct |  -.2612058   .0820753    -3.18   0.001    -.4220704   -.1003411
   public_holiday_christian |  -13.52642   .5879386   -23.01   0.000    -14.67876   -12.37408
      public_holiday_muslim |  -1.203792   1.080635    -1.11   0.265    -3.321798    .9142138
                     friday |   .5489144    .159234     3.45   0.001     .2368216    .8610072
             sqrt_co_ethnic |   .4033358   .2442983     1.65   0.099    -.0754801    .8821516
sqrt_distance_from_north_~i |   .0797075   .0449594     1.77   0.076    -.0084114    .1678264
sqrt_distance_to_gov_centre |  -.1692993   .0429095    -3.95   0.000    -.2534004   -.0851983
        sqrt_police_strikes |   .3759424   .1840091     2.04   0.041     .0152911    .7365937
            log10christians |   .8848001   .2376531     3.72   0.000     .4190086    1.350592
       sqrt_coptic_churches |   .4218154   .1093059     3.86   0.000     .2075797    .6360511
            agriculture_pct |  -.0046724   .0097021    -0.48   0.630    -.0236883    .0143434
             university_pct |   .0081665   .0126582     0.65   0.519    -.0166432    .0329761
      ln_population_density |  -.0409475   .0735267    -0.56   0.578    -.1850571    .1031621
           lprevious_attack |   1.462521   .7954347     1.84   0.066    -.0965025    3.021544
                      _cons |  -16.25638   1.485048   -10.95   0.000    -19.16702   -13.34574
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   .7996102   .4254091     1.88   0.060    -.0341762    1.633397
             pct_mursi_2012 |   .0780544   .0222552     3.51   0.000     .0344351    .1216737
            pct_shafiq_2012 |   .0731136   .0459413     1.59   0.112    -.0169297    .1631569
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0012939   .0009545    -1.36   0.175    -.0031646    .0005768
                            |
               rabaa_8weeks |   1.362064   .2463888     5.53   0.000     .8791506    1.844977
       sqrt_killed_at_rabaa |    .170587   .1208412     1.41   0.158    -.0662575    .4074315
                    CPI_pct |   .0097417   .0028334     3.44   0.001     .0041883    .0152951
   public_holiday_christian |  -13.95825   .5462385   -25.55   0.000    -15.02886   -12.88764
      public_holiday_muslim |   .9218413   .2918598     3.16   0.002     .3498067    1.493876
                     friday |   -.076063   .2039157    -0.37   0.709    -.4757304    .3236044
             sqrt_co_ethnic |  -.3098078   .7346517    -0.42   0.673    -1.749699    1.130083
sqrt_distance_from_north_~i |   .1265629   .0719684     1.76   0.079    -.0144925    .2676183
sqrt_distance_to_gov_centre |   -.008012   .0379796    -0.21   0.833    -.0824507    .0664267
        sqrt_police_strikes |   .3386889   .1302011     2.60   0.009     .0834995    .5938783
            log10christians |   1.706639   .3402552     5.02   0.000     1.039751    2.373527
       sqrt_coptic_churches |   .2619325   .0934564     2.80   0.005     .0787613    .4451037
            agriculture_pct |   .0039704   .0095125     0.42   0.676    -.0146738    .0226146
             university_pct |   .0123189   .0159028     0.77   0.439    -.0188501    .0434878
      ln_population_density |  -.0210921   .0811942    -0.26   0.795    -.1802299    .1380457
           lprevious_attack |   .6238841   .0568808    10.97   0.000     .5123998    .7353684
                      _cons |  -22.49032   3.390627    -6.63   0.000    -29.13582   -15.84481
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.195057   .6355709     1.88   0.060    -.0506394    2.440753
             pct_mursi_2012 |   .0331216   .0244252     1.36   0.175    -.0147508    .0809941
            pct_shafiq_2012 |   .0268434   .0720438     0.37   0.709    -.1143598    .1680467
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011419   .0013235    -0.86   0.388     -.003736    .0014521
                            |
               rabaa_8weeks |   1.203316   .3950745     3.05   0.002     .4289841    1.977648
       sqrt_killed_at_rabaa |  -.0825265   .1827006    -0.45   0.651    -.4406131    .2755601
                    CPI_pct |  -.0442869   .0463467    -0.96   0.339    -.1351248    .0465511
   public_holiday_christian |   1.208289   1.069672     1.13   0.259    -.8882288    3.304807
      public_holiday_muslim |  -14.24455   .3116902   -45.70   0.000    -14.85545   -13.63365
                     friday |   .4094649   .4291086     0.95   0.340    -.4315726    1.250502
             sqrt_co_ethnic |    .096496   .5450534     0.18   0.859     -.971789    1.164781
sqrt_distance_from_north_~i |  -.1595581   .0806609    -1.98   0.048    -.3176507   -.0014656
sqrt_distance_to_gov_centre |  -.3438389   .1231833    -2.79   0.005    -.5852738    -.102404
        sqrt_police_strikes |   .2358991   .2696041     0.87   0.382    -.2925152    .7643135
            log10christians |    .342828    .255284     1.34   0.179    -.1575194    .8431754
       sqrt_coptic_churches |    .549928   .1938376     2.84   0.005     .1700133    .9298428
            agriculture_pct |  -.0210191   .0126555    -1.66   0.097    -.0458235    .0037853
             university_pct |  -.0090157     .01382    -0.65   0.514    -.0361023     .018071
      ln_population_density |  -.1282861   .0905906    -1.42   0.157    -.3058404    .0492683
           lprevious_attack |   3.218478   .4159313     7.74   0.000     2.403268    4.033688
                      _cons |   -7.06256   2.311922    -3.05   0.002    -11.59384   -2.531277
---------------------------------------------------------------------------------------------
Note: 323 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2565.0757                      Pseudo R2     =  0.2034

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |    27.5353   9.059551    10.08   0.000     14.44878    52.47454
             pct_mursi_2012 |   1.054445   .0140589     3.98   0.000     1.027247    1.082363
            pct_shafiq_2012 |   1.040558    .045519     0.91   0.363     .9550602     1.13371
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988206   .0009468    -1.24   0.213     .9969666    1.000678
                            |
               rabaa_8weeks |   27.87616   10.60182     8.75   0.000     13.22833    58.74363
       sqrt_killed_at_rabaa |    1.01978   .0976747     0.20   0.838     .8452361    1.230367
                    CPI_pct |   .7701224    .063208    -3.18   0.001     .6556879    .9045288
   public_holiday_christian |   1.34e-06   7.85e-07   -23.01   0.000     4.22e-07    4.23e-06
      public_holiday_muslim |   .3000542   .3242491    -1.11   0.265     .0360879    2.494813
                     friday |   1.731372   .2756933     3.45   0.001     1.267215    2.365542
             sqrt_co_ethnic |   1.496809    .365668     1.65   0.099     .9272982    2.416093
sqrt_distance_from_north_~i |    1.08297   .0486897     1.77   0.076     .9916239    1.182731
sqrt_distance_to_gov_centre |   .8442562   .0362266    -3.95   0.000     .7761571    .9183302
        sqrt_police_strikes |   1.456363   .2679841     2.04   0.041     1.015409    2.088808
            log10christians |     2.4225   .5757146     3.72   0.000     1.520453    3.859708
       sqrt_coptic_churches |   1.524727   .1666617     3.86   0.000     1.230696    1.889007
            agriculture_pct |   .9953385   .0096569    -0.48   0.630     .9765901    1.014447
             university_pct |     1.0082    .012762     0.65   0.519     .9834946    1.033526
      ln_population_density |   .9598796   .0705767    -0.56   0.578     .8310569    1.108671
           lprevious_attack |   4.316828   3.433754     1.84   0.066     .9080077    20.52296
                      _cons |   8.71e-08   1.29e-07   -10.95   0.000     4.74e-09    1.60e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.224674   .9463963     1.88   0.060     .9664012     5.12124
             pct_mursi_2012 |   1.081181   .0240619     3.51   0.000     1.035035    1.129386
            pct_shafiq_2012 |   1.075853   .0494261     1.59   0.112     .9832128    1.177221
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987069   .0009532    -1.36   0.175     .9968404    1.000577
                            |
               rabaa_8weeks |   3.904243   .9619618     5.53   0.000     2.408853    6.327955
       sqrt_killed_at_rabaa |   1.186001   .1433178     1.41   0.158     .9358899    1.502952
                    CPI_pct |   1.009789   .0028612     3.44   0.001     1.004197    1.015413
   public_holiday_christian |   8.67e-07   4.74e-07   -25.55   0.000     2.97e-07    2.53e-06
      public_holiday_muslim |   2.513915   .7337108     3.16   0.002     1.418793    4.454327
                     friday |   .9267578   .1889805    -0.37   0.709      .621431      1.3821
             sqrt_co_ethnic |   .7335879   .5389316    -0.42   0.673     .1738263    3.095914
sqrt_distance_from_north_~i |   1.134921   .0816784     1.76   0.079      .985612    1.306848
sqrt_distance_to_gov_centre |     .99202   .0376765    -0.21   0.833     .9208569    1.068683
        sqrt_police_strikes |   1.403107    .182686     2.60   0.009     1.087085    1.810998
            log10christians |   5.510411   1.874946     5.02   0.000     2.828514    10.73519
       sqrt_coptic_churches |   1.299439   .1214409     2.80   0.005     1.081946    1.560652
            agriculture_pct |   1.003978   .0095504     0.42   0.676     .9854333    1.022872
             university_pct |   1.012395   .0160999     0.77   0.439     .9813265    1.044447
      ln_population_density |   .9791288   .0794996    -0.26   0.795     .8350782    1.148028
           lprevious_attack |   1.866162   .1061488    10.97   0.000     1.669292     2.08625
                      _cons |   1.71e-10   5.79e-10    -6.63   0.000     2.22e-13    1.31e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.303745   2.099764     1.88   0.060     .9506214    11.48168
             pct_mursi_2012 |   1.033676   .0252477     1.36   0.175     .9853574    1.084364
            pct_shafiq_2012 |   1.027207   .0740039     0.37   0.709      .891937    1.182992
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988587    .001322    -0.86   0.388      .996271    1.001453
                            |
               rabaa_8weeks |   3.331144    1.31605     3.05   0.002     1.535697    7.225725
       sqrt_killed_at_rabaa |   .9207871   .1682283    -0.45   0.651     .6436417    1.317268
                    CPI_pct |   .9566795    .044339    -0.96   0.339     .8736069    1.047652
   public_holiday_christian |   3.347752   3.580995     1.13   0.259     .4113838    27.24328
      public_holiday_muslim |   6.51e-07   2.03e-07   -45.70   0.000     3.53e-07    1.20e-06
                     friday |   1.506012   .6462426     0.95   0.340     .6494869    3.492097
             sqrt_co_ethnic |   1.101305   .6002702     0.18   0.859     .3784054    3.205221
sqrt_distance_from_north_~i |   .8525204   .0687651    -1.98   0.048      .727857    .9985355
sqrt_distance_to_gov_centre |   .7090431   .0873423    -2.79   0.005     .5569533    .9026648
        sqrt_police_strikes |   1.266047   .3413314     0.87   0.382     .7463839     2.14752
            log10christians |   1.408926   .3596763     1.34   0.179     .8542603    2.323734
       sqrt_coptic_churches |   1.733128   .3359454     2.84   0.005     1.185321    2.534111
            agriculture_pct |   .9792003   .0123923    -1.66   0.097     .9552105    1.003792
             university_pct |   .9910249   .0136959    -0.65   0.514     .9645416    1.018235
      ln_population_density |   .8796017   .0796837    -1.42   0.157     .7365041    1.050502
           lprevious_attack |   24.99005   10.39414     7.74   0.000     11.05925    56.46879
                      _cons |   .0008566   .0019804    -3.05   0.002     9.22e-06    .0795573
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 323 observations completely determined. Standard errors questionable.

. 
. vce2way mlogit $basic_dv $h1_alt5 $h2 $h3 $h4 $controls, cluster(gov_ID adm2_pcode) 

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2579.035                       Pseudo R2     =  0.1991

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   3.431199    .365235     9.39   0.000     2.715351    4.147046
             pct_mursi_2012 |   .0524967   .0132023     3.98   0.000     .0266206    .0783728
            pct_shafiq_2012 |   .0395267   .0435685     0.91   0.364     -.045866    .1249195
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011741   .0009441    -1.24   0.214    -.0030246    .0006763
                            |
              rabaa_12weeks |   3.032194   .4140039     7.32   0.000     2.220761    3.843626
       sqrt_killed_at_rabaa |   .0194286   .0953498     0.20   0.839    -.1674535    .2063108
                    CPI_pct |  -.2580486   .0872562    -2.96   0.003    -.4290677   -.0870296
   public_holiday_christian |  -12.74038   .6071563   -20.98   0.000    -13.93039   -11.55038
      public_holiday_muslim |  -1.642492   1.062268    -1.55   0.122    -3.724499    .4395156
                     friday |   .5139024   .1550299     3.31   0.001     .2100494    .8177554
             sqrt_co_ethnic |   .4018159   .2433451     1.65   0.099    -.0751318    .8787636
sqrt_distance_from_north_~i |   .0794044   .0447258     1.78   0.076    -.0082566    .1670653
sqrt_distance_to_gov_centre |  -.1680313   .0426849    -3.94   0.000    -.2516922   -.0843703
        sqrt_police_strikes |    .376155    .183817     2.05   0.041     .0158802    .7364298
            log10christians |   .8815972   .2368024     3.72   0.000      .417473    1.345721
       sqrt_coptic_churches |     .41823   .1087164     3.85   0.000     .2051498    .6313102
            agriculture_pct |  -.0046545    .009684    -0.48   0.631    -.0236347    .0143258
             university_pct |   .0078993   .0125939     0.63   0.531    -.0167843    .0325829
      ln_population_density |  -.0402873   .0733227    -0.55   0.583    -.1839972    .1034227
           lprevious_attack |   1.616031   .8112001     1.99   0.046     .0261083    3.205954
                      _cons |  -16.24442   1.472719   -11.03   0.000     -19.1309   -13.35795
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |    .838545   .4155711     2.02   0.044     .0240406    1.653049
             pct_mursi_2012 |   .0780051   .0222154     3.51   0.000     .0344638    .1215465
            pct_shafiq_2012 |   .0731309    .045937     1.59   0.111     -.016904    .1631658
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   -.001294   .0009543    -1.36   0.175    -.0031644    .0005765
                            |
              rabaa_12weeks |   1.160449   .2516047     4.61   0.000     .6673127    1.653585
       sqrt_killed_at_rabaa |    .170392   .1208666     1.41   0.159    -.0665022    .4072862
                    CPI_pct |   .0098372   .0028244     3.48   0.000     .0043015    .0153728
   public_holiday_christian |  -13.19927   .5420486   -24.35   0.000    -14.26166   -12.13687
      public_holiday_muslim |   .7624185   .2734116     2.79   0.005     .2265416    1.298295
                     friday |  -.0714016   .2038743    -0.35   0.726    -.4709879    .3281847
             sqrt_co_ethnic |  -.3098512   .7348109    -0.42   0.673    -1.750054    1.130352
sqrt_distance_from_north_~i |   .1264747   .0718896     1.76   0.079    -.0144263    .2673756
sqrt_distance_to_gov_centre |   -.007951   .0379888    -0.21   0.834    -.0824078    .0665058
        sqrt_police_strikes |   .3383656   .1302855     2.60   0.009     .0830108    .5937204
            log10christians |   1.706755   .3403186     5.02   0.000     1.039742    2.373767
       sqrt_coptic_churches |   .2616337   .0934897     2.80   0.005     .0783972    .4448702
            agriculture_pct |   .0039709   .0095111     0.42   0.676    -.0146705    .0226123
             university_pct |   .0122823   .0158854     0.77   0.439    -.0188526    .0434172
      ln_population_density |  -.0210902   .0811241    -0.26   0.795    -.1800904    .1379101
           lprevious_attack |   .6638678   .0532899    12.46   0.000     .5594214    .7683141
                      _cons |  -22.49525   3.390631    -6.63   0.000    -29.14077   -15.84974
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   1.210981   .6354904     1.91   0.057    -.0345574    2.456519
             pct_mursi_2012 |   .0331439   .0244309     1.36   0.175    -.0147398    .0810276
            pct_shafiq_2012 |   .0267607   .0719576     0.37   0.710    -.1142736    .1677949
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0011399   .0013211    -0.86   0.388    -.0037293    .0014495
                            |
              rabaa_12weeks |   1.044789   .3473115     3.01   0.003     .3640706    1.725507
       sqrt_killed_at_rabaa |  -.0824187   .1827715    -0.45   0.652    -.4406441    .2758068
                    CPI_pct |  -.0436817   .0451896    -0.97   0.334    -.1322517    .0448883
   public_holiday_christian |   1.214453   1.070592     1.13   0.257    -.8838689    3.312775
      public_holiday_muslim |  -13.58943   .3022965   -44.95   0.000    -14.18192   -12.99694
                     friday |   .4044666   .4287058     0.94   0.345    -.4357814    1.244715
             sqrt_co_ethnic |     .09803   .5445579     0.18   0.857    -.9692838    1.165344
sqrt_distance_from_north_~i |  -.1592948   .0805691    -1.98   0.048    -.3172073   -.0013822
sqrt_distance_to_gov_centre |  -.3435042   .1229319    -2.79   0.005    -.5844464   -.1025621
        sqrt_police_strikes |   .2362835   .2700371     0.88   0.382    -.2929795    .7655465
            log10christians |   .3423298   .2550768     1.34   0.180    -.1576115     .842271
       sqrt_coptic_churches |   .5489395     .19423     2.83   0.005     .1682556    .9296233
            agriculture_pct |  -.0210642   .0126699    -1.66   0.096    -.0458968    .0037683
             university_pct |  -.0089984    .013813    -0.65   0.515    -.0360714    .0180747
      ln_population_density |  -.1280653   .0906989    -1.41   0.158    -.3058319    .0497013
           lprevious_attack |   3.266806   .4242075     7.70   0.000     2.435375    4.098237
                      _cons |  -7.074018   2.312562    -3.06   0.002    -11.60656    -2.54148
---------------------------------------------------------------------------------------------
Note: 368 observations completely determined. Standard errors questionable.
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

    The initial variance-covariance matrix, e(V_raw), was not positive semi-definite.
      The final matrix, e(V), was computed by replacing negative eigenvalues with 0s.

. mlogit, rrr

Multinomial logistic regression                        Number of obs = 652,922
                                                       Wald chi2(60) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2579.035                       Pseudo R2     =  0.1991

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
 dv_burning_beating_bombing |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
1                           |  (base outcome)
----------------------------+----------------------------------------------------------------
2                           |
                    mboccup |   30.91368   11.29076     9.39   0.000     15.10992    63.24692
             pct_mursi_2012 |   1.053899   .0139139     3.98   0.000     1.026978    1.081526
            pct_shafiq_2012 |   1.040318   .0453251     0.91   0.364     .9551699    1.133057
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988265    .000943    -1.24   0.214       .99698    1.000677
                            |
              rabaa_12weeks |   20.74268   8.587551     7.32   0.000      9.21434    46.69449
       sqrt_killed_at_rabaa |   1.019619   .0972204     0.20   0.839     .8458159    1.229135
                    CPI_pct |   .7725577   .0674105    -2.96   0.003     .6511158      .91665
   public_holiday_christian |   2.93e-06   1.78e-06   -20.98   0.000     8.91e-07    9.63e-06
      public_holiday_muslim |   .1934973    .205546    -1.55   0.122     .0241252    1.551955
                     friday |   1.671803   .2591794     3.31   0.001     1.233739    2.265409
             sqrt_co_ethnic |   1.494536   .3636881     1.65   0.099     .9276212    2.407921
sqrt_distance_from_north_~i |   1.082642    .048422     1.78   0.076     .9917774    1.181831
sqrt_distance_to_gov_centre |   .8453274   .0360827    -3.94   0.000      .777484    .9190908
        sqrt_police_strikes |   1.456673   .2677613     2.05   0.041     1.016007    2.088466
            log10christians |   2.414754   .5718195     3.72   0.000      1.51812    3.840956
       sqrt_coptic_churches |    1.51927   .1651695     3.85   0.000     1.227709    1.880072
            agriculture_pct |   .9953564    .009639    -0.48   0.631     .9766424    1.014429
             university_pct |   1.007931   .0126938     0.63   0.531     .9833557     1.03312
      ln_population_density |   .9605135   .0704275    -0.55   0.583     .8319381     1.10896
           lprevious_attack |   5.033076   4.082831     1.99   0.046     1.026452    24.67904
                      _cons |   8.81e-08   1.30e-07   -11.03   0.000     4.92e-09    1.58e-06
----------------------------+----------------------------------------------------------------
3                           |
                    mboccup |   2.312999   .9612157     2.02   0.044     1.024332    5.222883
             pct_mursi_2012 |   1.081128   .0240177     3.51   0.000     1.035065    1.129242
            pct_shafiq_2012 |   1.075871   .0494223     1.59   0.111     .9832381    1.177232
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9987069   .0009531    -1.36   0.175     .9968406    1.000577
                            |
              rabaa_12weeks |   3.191366   .8029626     4.61   0.000     1.948993    5.225681
       sqrt_killed_at_rabaa |    1.18577   .1433199     1.41   0.159     .9356609    1.502734
                    CPI_pct |   1.009886   .0028523     3.48   0.000     1.004311    1.015492
   public_holiday_christian |   1.85e-06   1.00e-06   -24.35   0.000     6.40e-07    5.36e-06
      public_holiday_muslim |   2.143454   .5860451     2.79   0.005     1.254255    3.663047
                     friday |   .9310879   .1898249    -0.35   0.726     .6243851    1.388445
             sqrt_co_ethnic |   .7335561    .539025    -0.42   0.673     .1737645    3.096746
sqrt_distance_from_north_~i |   1.134821   .0815818     1.76   0.079     .9856773    1.306531
sqrt_distance_to_gov_centre |   .9920805    .037688    -0.21   0.834     .9208964    1.068767
        sqrt_police_strikes |   1.402653   .1827453     2.60   0.009     1.086554    1.810713
            log10christians |   5.511046   1.875512     5.02   0.000     2.828488    10.73776
       sqrt_coptic_churches |   1.299051   .1214479     2.80   0.005     1.081552    1.560288
            agriculture_pct |   1.003979   .0095489     0.42   0.676     .9854366     1.02287
             university_pct |   1.012358   .0160818     0.77   0.439      .981324    1.044373
      ln_population_density |   .9791307   .0794311    -0.26   0.795     .8351947    1.147872
           lprevious_attack |    1.94229   .1035045    12.46   0.000      1.74966    2.156128
                      _cons |   1.70e-10   5.76e-10    -6.63   0.000     2.21e-13    1.31e-07
----------------------------+----------------------------------------------------------------
4                           |
                    mboccup |   3.356776   2.133199     1.91   0.057     .9660329    11.66414
             pct_mursi_2012 |   1.033699   .0252542     1.36   0.175     .9853683    1.084401
            pct_shafiq_2012 |   1.027122   .0739092     0.37   0.710     .8920139    1.182694
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9988607   .0013196    -0.86   0.388     .9962777    1.001451
                            |
              rabaa_12weeks |   2.842797   .9873361     3.01   0.003     1.439176    5.615365
       sqrt_killed_at_rabaa |   .9208863   .1683117    -0.45   0.652     .6436217    1.317593
                    CPI_pct |   .9572586   .0432582    -0.97   0.334     .8761204    1.045911
   public_holiday_christian |    3.36845   3.606236     1.13   0.257     .4131813    27.46121
      public_holiday_muslim |   1.25e-06   3.79e-07   -44.95   0.000     6.93e-07    2.27e-06
                     friday |   1.498503   .6424169     0.94   0.345     .6467591    3.471944
             sqrt_co_ethnic |   1.102996   .6006451     0.18   0.857     .3793546    3.207025
sqrt_distance_from_north_~i |    .852745   .0687049    -1.98   0.048     .7281798    .9986187
sqrt_distance_to_gov_centre |   .7092805   .0871932    -2.79   0.005     .5574144    .9025221
        sqrt_police_strikes |   1.266533    .342011     0.88   0.382     .7460374    2.150169
            log10christians |   1.408225   .3592054     1.34   0.180     .8541816    2.321634
       sqrt_coptic_churches |   1.731416   .3362929     2.83   0.005     1.183239    2.533555
            agriculture_pct |   .9791561   .0124058    -1.66   0.096     .9551405    1.003775
             university_pct |    .991042   .0136893    -0.65   0.515     .9645714    1.018239
      ln_population_density |   .8797959   .0797965    -1.41   0.158     .7365104    1.050957
           lprevious_attack |   26.22743   11.12587     7.70   0.000      11.4201    60.23403
                      _cons |   .0008468   .0019583    -3.06   0.002     9.11e-06    .0787498
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.
Note: 368 observations completely determined. Standard errors questionable.

. 
. 
. ********************************************************************************
. *Appendix Table B4 - Predicting anti-Christian violence with dummy DV
. ********************************************************************************
. 
. vce2way logit sectarian_dummy $h1 $h2 $h3 $h4 $controls, cluster(gov_ID adm2_pcode) 

Logistic regression                                    Number of obs = 652,925
                                                       Wald chi2(20) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2310.2456                      Pseudo R2     =  0.2021

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
            sectarian_dummy | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
                    mboccup |   1.799665   .1864776     9.65   0.000     1.434176    2.165155
             pct_mursi_2012 |   .0535688   .0161096     3.33   0.001     .0219946     .085143
            pct_shafiq_2012 |   .0606589   .0324427     1.87   0.062    -.0029275    .1242454
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |  -.0015401   .0006844    -2.25   0.024    -.0028814   -.0001987
                            |
                      rabaa |   3.779438   .1766614    21.39   0.000     3.433188    4.125688
       sqrt_killed_at_rabaa |  -.0164461   .1308115    -0.13   0.900     -.272832    .2399397
                    CPI_pct |   .0025345   .0033721     0.75   0.452    -.0040746    .0091437
   public_holiday_christian |  -.3167887   1.125286    -0.28   0.778    -2.522308    1.888731
      public_holiday_muslim |   .1464767   .2707805     0.54   0.589    -.3842433    .6771967
                     friday |   .2738889    .162359     1.69   0.092    -.0443289    .5921067
             sqrt_co_ethnic |   .2790663   .2240136     1.25   0.213    -.1599923    .7181249
sqrt_distance_from_north_~i |   .0148583   .0738878     0.20   0.841    -.1299591    .1596758
sqrt_distance_to_gov_centre |  -.1461297   .0521667    -2.80   0.005    -.2483745    -.043885
        sqrt_police_strikes |   .3185365   .0770939     4.13   0.000     .1674353    .4696378
            log10christians |   .9078926   .3049291     2.98   0.003     .3102426    1.505543
       sqrt_coptic_churches |    .449719   .1140586     3.94   0.000     .2261683    .6732697
            agriculture_pct |  -.0055904   .0072666    -0.77   0.442    -.0198326    .0086519
             university_pct |   .0055973   .0130787     0.43   0.669    -.0200364     .031231
      ln_population_density |    -.07556    .057713    -1.31   0.190    -.1886754    .0375553
           lprevious_attack |    .971583   .4342164     2.24   0.025     .1205345    1.822631
                      _cons |  -13.75843   3.110952    -4.42   0.000    -19.85578   -7.661077
---------------------------------------------------------------------------------------------
Notes:
    As of June 2019, vce2way has been superseded by vcemway.

    Std. Err. adjusted for 27 clusters in gov_ID, AND 325 clusters in adm2_pcode.

    Ignore default Wald chi2(.) and Prob > chi2, or F(.,.) and Prob > F, results above.
      If needed, use command -test- to compute the test statistic and p-value of interest.

. logit, or

Logistic regression                                    Number of obs = 652,925
                                                       Wald chi2(20) =       .
                                                       Prob > chi2   =       .
Log pseudolikelihood = -2310.2456                      Pseudo R2     =  0.2021

                                 (Std. err. adjusted for clustering on gov_ID and adm2_pcode)
---------------------------------------------------------------------------------------------
                            |               Robust
            sectarian_dummy | Odds ratio   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
                    mboccup |   6.047624   1.127746     9.65   0.000     4.196187    8.715951
             pct_mursi_2012 |    1.05503   .0169961     3.33   0.001     1.022238    1.088873
            pct_shafiq_2012 |   1.062536   .0344715     1.87   0.062     .9970768    1.132294
                            |
          c.pct_shafiq_2012#|
          c.pct_shafiq_2012 |   .9984611   .0006833    -2.25   0.024     .9971228    .9998013
                            |
                      rabaa |   43.79142   7.736252    21.39   0.000     30.97523    61.91038
       sqrt_killed_at_rabaa |   .9836884   .1286777    -0.13   0.900     .7612207    1.271172
                    CPI_pct |   1.002538   .0033806     0.75   0.452     .9959337    1.009186
   public_holiday_christian |   .7284847   .8197533    -0.28   0.778     .0802741    6.610971
      public_holiday_muslim |   1.157748   .3134955     0.54   0.589     .6809657    1.968352
                     friday |   1.315069   .2135132     1.69   0.092     .9566393    1.807793
             sqrt_co_ethnic |   1.321895   .2961225     1.25   0.213     .8521503    2.050585
sqrt_distance_from_north_~i |   1.014969   .0749939     0.20   0.841     .8781313     1.17313
sqrt_distance_to_gov_centre |   .8640456   .0450744    -2.80   0.005     .7800677    .9570641
        sqrt_police_strikes |   1.375114   .1060129     4.13   0.000     1.182269    1.599415
            log10christians |   2.479093   .7559474     2.98   0.003     1.363756    4.506598
       sqrt_coptic_churches |   1.567872   .1788292     3.94   0.000     1.253787    1.960638
            agriculture_pct |   .9944252   .0072261    -0.77   0.442     .9803627    1.008689
             university_pct |   1.005613   .0131521     0.43   0.669      .980163    1.031724
      ln_population_density |   .9272241   .0535128    -1.31   0.190     .8280553    1.038269
           lprevious_attack |   2.642124   1.147253     2.24   0.025       1.1281    6.188121
                      _cons |   1.06e-06   3.29e-06    -4.42   0.000     2.38e-09    .0004708
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline odds.

. 
. log close
      name:  <unnamed>
       log:  C:\Users\neilke\Dropbox\sectarian_paper\production\replication_files\analysis_log
> .log
  log type:  text
 closed on:  23 Jul 2022, 19:41:04
----------------------------------------------------------------------------------------------
